CVE-2012-5304 Code injection in n/a

High 7.5 Published Updated

Remote attackers can inject arbitrary PHP code if the administrator fails to follow installation documentation recommendations.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2012-5304?

CVE-2012-5304 is a high-severity code injection vulnerability in n/a, published on 6 Oct 2012. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

Static code injection vulnerability in administration/install.php in YVS Image Gallery allows remote attackers to inject arbitrary PHP code into functions/db_connect.php via unspecified vectors. NOTE: this is only a vulnerability when the administrator does not follow recommendations in the product's installation documentation.

Weakness: CWE-94

Which versions are affected by CVE-2012-5304?

It affects 1 product.

Products include Yuriy v Semenikhin Yvs Image Gallery.

How do I fix CVE-2012-5304?

No fix has been published for CVE-2012-5304 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2012-5304 being exploited?

There is no known exploitation of CVE-2012-5304 in the wild and no public exploit code.

Sources

Also known as GHSA-qv7q-gq5r-9gcx.

Is CVE-2012-5304 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free