CVE-2007-2158 Code injection in n/a

High 7.5 Published Updated

Remote attackers can execute arbitrary PHP code in jGallery via a malicious URL in the G_JGALL[inc_path] parameter.

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

CVE-2007-2158 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

PHP remote file inclusion vulnerability in index.php in jGallery 1.3 allows remote attackers to execute arbitrary PHP code via a URL in the G_JGALL[inc_path] parameter.

Which versions are affected by CVE-2007-2158?

It affects 1 product.

Products include Kooijman-Design Jgallery.

How do I fix CVE-2007-2158?

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

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

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as GHSA-xrff-wf45-h7mh.

Is CVE-2007-2158 in your software?

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

Check your SBOMs for free