CVE Catalog

CVE-2005-4228

High
Published: Translated: NVD NIST

Summary

Multiple SQL injection vulnerabilities in PhpWebGallery 1.5.1 and earlier, and also in version 1.7.2 and earlier for the sort_by parameter in comments.php, allow remote attackers to execute arbitrary SQL commands via the since, sort_by, items_number parameters in comments.php, the search parameter in category.php, and the image_id parameter in picture.php.

Risk Assessment

The risk involves unauthorized database access, data theft or modification, and potential application compromise.

Recommendation

Immediately update PhpWebGallery to the latest version and implement parameterized SQL queries or input validation for all mentioned parameters.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS