PHPWebGallery Multiple SQL Injection Vulnerabilities

BID:15837

Info

PHPWebGallery Multiple SQL Injection Vulnerabilities

Bugtraq ID: 15837
Class: Input Validation Error
CVE: CVE-2005-4228
Remote: Yes
Local: No
Published: Dec 13 2005 12:00AM
Updated: Sep 15 2008 08:00PM
Credit: rakstija r0t3d3Vil, Stack
Vulnerable: PhpWebGallery PhpWebGallery 1.5.1
PhpWebGallery PhpWebGallery 1.3.4
Not Vulnerable:

Discussion

PHPWebGallery Multiple SQL Injection Vulnerabilities

PhpWebGallery is prone to multiple SQL-injection vulnerabilities because the application fails to properly sanitize user-supplied input before using it in SQL queries.

A successful exploit could allow an attacker to compromise the application, access or modify data, or exploit vulnerabilities in the underlying database.

Exploit / POC

PHPWebGallery Multiple SQL Injection Vulnerabilities

No exploit is required.

The following proof-of-concept URIs are available:

http://www.example.com/comments.php?keyword=&author=&cat=0&since=[SQL]
http://www.example.com/comments.php?keyword=&author=&cat=0&since=1&sort_by=[SQL]
http://www.example.com/comments.php?keyword=&author=&cat=0&since=1&sort_by=date&sort_order=descending&items_number=[SQL]
http://www.example.com/category.php?cat=search&search=[SQL]
http://www.example.com/picture.php?cat=best_rated&image_id=[SQL]

Solution / Fix

PHPWebGallery Multiple SQL Injection Vulnerabilities

Solution:
Currently we are not aware of any vendor-supplied patches. If you feel we are in error or if you are aware of more recent information, please mail us at: [email protected].

References

PHPWebGallery Multiple SQL Injection Vulnerabilities

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report