{"id":"CVE-2005-4228","aliases":["EUVD-2005-4223","GHSA-cw8x-jrx2-378j"],"status":"published","title":"Multiple SQL injection vulnerabilities in PhpWebGallery 1.5.1 and earlier allow remote attackers...","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.","severity":{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.02563,"percentile":0.85209,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"cwes":["CWE-89"],"published":"2005-12-14T11:00:00Z","modified":"2026-06-16T22:18:23Z","exploits":[{"source":"exploitdb","id":"EDB-26790","title":"PHPWebGallery 1.3.4/1.5.1 - 'comments.php' SQL Injection","type":"webapps","platform":"php","date":"2005-12-13","verified":true,"url":"https://www.exploit-db.com/exploits/26790"},{"source":"exploitdb","id":"EDB-26791","title":"PHPWebGallery 1.3.4/1.5.1 - 'category.php' SQL Injection","type":"webapps","platform":"php","date":"2005-12-13","verified":true,"url":"https://www.exploit-db.com/exploits/26791"},{"source":"exploitdb","id":"EDB-26792","title":"PHPWebGallery 1.3.4/1.5.1 - 'picture.php' SQL Injection","type":"webapps","platform":"php","date":"2005-12-13","verified":true,"url":"https://www.exploit-db.com/exploits/26792"}],"products":[{"vendor":"phpwebgallery","product":"phpwebgallery"}],"references":[{"url":"http://pridels0.blogspot.com/2005/12/phpwebgallery-multiple-sql-inj.html","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://www.osvdb.org/21690","tags":["vdb-entry","x_refsource_OSVDB","x_transferred"]},{"url":"http://secunia.com/advisories/18019","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory"]},{"url":"http://www.vupen.com/english/advisories/2005/2881","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"]},{"url":"http://www.securityfocus.com/bid/15837","tags":["vdb-entry","x_refsource_BID","x_transferred","Exploit"]},{"url":"http://www.osvdb.org/21691","tags":["vdb-entry","x_refsource_OSVDB","x_transferred"]},{"url":"http://www.osvdb.org/21689","tags":["vdb-entry","x_refsource_OSVDB","x_transferred"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2005-4228"},{"url":"https://github.com/advisories/GHSA-cw8x-jrx2-378j"}],"sources":{"cve":[{"id":"CVE-2005-4228","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.","status":"published","published":"2005-12-14T11:00:00Z","modified":"2024-08-07T23:38:51.45Z","updated_at":"2026-11-02T14:33:39.259087Z"}],"euvd":[{"id":"EUVD-2005-4223","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.","status":"published","published":"2005-12-14T11:00:00Z","modified":"2024-08-07T23:38:51Z","updated_at":"2026-11-03T01:15:23.744869Z"}],"ghsa":[{"id":"GHSA-cw8x-jrx2-378j","title":"Multiple SQL injection vulnerabilities in PhpWebGallery 1.5.1 and earlier allow remote attackers...","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.","status":"published","published":"2022-05-01T02:25:16Z","modified":"2023-01-30T05:08:24Z","cwes":["CWE-89"],"updated_at":"2026-11-02T14:47:49.655134Z"}],"nvd":[{"id":"CVE-2005-4228","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.","status":"published","published":"2005-12-14T11:03:00Z","modified":"2026-06-16T22:18:23.977Z","cvss":[{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T14:00:57.944899Z"}]}}
