CVE-2007-0122 SQL injection in n/a

Medium 6.5 Published Updated

Remote authenticated administrators can execute arbitrary SQL commands in Coppermine Photo Gallery via multiple parameters.

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-2007-0122?

CVE-2007-0122 is a medium-severity SQL injection vulnerability in n/a, published on 9 Jan 2007. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

Multiple SQL injection vulnerabilities in Coppermine Photo Gallery 1.4.10 and earlier allow remote authenticated administrators to execute arbitrary SQL commands via (1) the cat parameter to albmgr.php, and possibly (2) the gid parameter to usermgr.php; (3) the start parameter to db_ecard.php; and the albumid parameter to unspecified files, related to the (4) filename_to_title and (5) del_titles functions.

Which versions are affected by CVE-2007-0122?

It affects 1 product.

Products include Coppermine Coppermine Photo Gallery.

How do I fix CVE-2007-0122?

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

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2007-0122 being exploited?

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

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as GHSA-j898-9qcx-cf3p.

Is CVE-2007-0122 in your software?

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

Check your SBOMs for free