CVE-2007-2146 Code injection in n/a

High 7.5 Published Updated

Remote attackers can inject arbitrary PHP code into MiniGal files via image comment parameters, leading to code execution.

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

What is CVE-2007-2146?

CVE-2007-2146 is a high-severity code injection vulnerability in n/a, published on 19 Apr 2007. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The imagecomments function in classes.php in MiniGal b13 allow remote attackers to inject arbitrary PHP code into a file in the thumbs/ directory via the (1) name or (2) email parameter. NOTE: the provenance of this information is unknown; the details are obtained solely from third party information.

Which versions are affected by CVE-2007-2146?

It affects 1 product.

Products include Minigal Minigal.

How do I fix CVE-2007-2146?

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

It is not confirmed as exploited in the wild, but public exploit code for CVE-2007-2146 exists.

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as GHSA-g7fw-7775-6f78.

Is CVE-2007-2146 in your software?

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

Check your SBOMs for free