CVE-2012-2931 Code injection in n/a

High 7.2 Published Updated

Authenticated administrators can inject arbitrary PHP code into the user file, leading to remote code execution on the server.

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-2931?

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

Official description

PHP code injection in TinyWebGallery before 1.8.8 allows remote authenticated users with admin privileges to inject arbitrary code into the .htusers.php file.

Weakness: CWE-74

Which versions are affected by CVE-2012-2931?

It affects 1 product.

Products include Tinywebgallery Tinywebgallery.

How do I fix CVE-2012-2931?

No fix has been published for CVE-2012-2931 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-2931 being exploited?

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

Sources

Also known as GHSA-45m9-hq68-rm3f.

Is CVE-2012-2931 in your software?

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

Check your SBOMs for free