CVE-2005-4228 SQL injection in n/a

High 7.5 Published Updated

Remote attackers can execute arbitrary SQL commands via multiple parameters in PhpWebGallery, potentially accessing or modifying database contents.

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-2005-4228?

CVE-2005-4228 is a high-severity SQL injection vulnerability in n/a, published on 14 Dec 2005. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Multiple SQL injection vulnerabilities in PhpWebGallery 1.5.1 and earlier allow remote attackers to execute arbitrary SQL commands via the (1) since, (2) sort_by, and (3) items_number parameters to comments.php, (4) the search parameter to category.php, and (5) image_id parameter to picture.php. NOTE: it was later reported that the comments.php/sort_by vector also affects 1.7.2 and earlier.

Weakness: CWE-89

Which versions are affected by CVE-2005-4228?

It affects 1 product.

Products include Phpwebgallery Phpwebgallery.

How do I fix CVE-2005-4228?

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

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

Public exploit code: 3 Exploit-DB entries.

Sources

Also known as GHSA-cw8x-jrx2-378j.

Is CVE-2005-4228 in your software?

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

Check your SBOMs for free