{"id":"CVE-2005-4228","sourceIdentifier":"cve@mitre.org","published":"2005-12-14T11:03:00.000","lastModified":"2026-06-16T22:18:23.977","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"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."}],"affected":[{"source":"cve@mitre.org","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","baseScore":7.5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"},"baseSeverity":"HIGH","exploitabilityScore":10.0,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":true,"userInteractionRequired":false}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-89"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:phpwebgallery:phpwebgallery:*:*:*:*:*:*:*:*","versionEndIncluding":"1.7.2","matchCriteriaId":"5B662306-A004-463F-BDA9-D52F5E47F380"},{"vulnerable":true,"criteria":"cpe:2.3:a:phpwebgallery:phpwebgallery:1.0:*:*:*:*:*:*:*","matchCriteriaId":"7F0EE492-82CC-4B8D-A4C2-C03D90E3512C"},{"vulnerable":true,"criteria":"cpe:2.3:a:phpwebgallery:phpwebgallery:1.1:*:*:*:*:*:*:*","matchCriteriaId":"12A62835-F153-476A-8F73-D190E249C60F"},{"vulnerable":true,"criteria":"cpe:2.3:a:phpwebgallery:phpwebgallery:1.2.1:*:*:*:*:*:*:*","matchCriteriaId":"18716F33-C917-477A-8B02-8F3E03BADD21"},{"vulnerable":true,"criteria":"cpe:2.3:a:phpwebgallery:phpwebgallery:1.3.0:*:*:*:*:*:*:*","matchCriteriaId":"11243C68-0FEC-4C4B-B33A-CA393F6DCBA7"},{"vulnerable":true,"criteria":"cpe:2.3:a:phpwebgallery:phpwebgallery:1.3.1:*:*:*:*:*:*:*","matchCriteriaId":"CCF0BF8D-0EBE-47E8-BF92-249308692253"},{"vulnerable":true,"criteria":"cpe:2.3:a:phpwebgallery:phpwebgallery:1.3.2:*:*:*:*:*:*:*","matchCriteriaId":"B9DC36B6-9AFA-4A90-ACBB-7BB25C27CBE4"},{"vulnerable":true,"criteria":"cpe:2.3:a:phpwebgallery:phpwebgallery:1.3.3:*:*:*:*:*:*:*","matchCriteriaId":"4C904823-1291-4883-950E-089443E1306F"},{"vulnerable":true,"criteria":"cpe:2.3:a:phpwebgallery:phpwebgallery:1.3.4:*:*:*:*:*:*:*","matchCriteriaId":"2847007A-5F0B-457E-9D56-1570B59B1589"},{"vulnerable":true,"criteria":"cpe:2.3:a:phpwebgallery:phpwebgallery:1.4.0:*:*:*:*:*:*:*","matchCriteriaId":"340CE351-800F-4670-A4FF-2B56644B6DC6"},{"vulnerable":true,"criteria":"cpe:2.3:a:phpwebgallery:phpwebgallery:1.4.1:*:*:*:*:*:*:*","matchCriteriaId":"1B0A25DD-835C-43FF-A040-90B59B5C8D97"},{"vulnerable":true,"criteria":"cpe:2.3:a:phpwebgallery:phpwebgallery:1.5.0:*:*:*:*:*:*:*","matchCriteriaId":"E410A77F-8520-4011-A1CA-03B0A466CF11"},{"vulnerable":true,"criteria":"cpe:2.3:a:phpwebgallery:phpwebgallery:1.5.1:*:*:*:*:*:*:*","matchCriteriaId":"029740C0-CC4B-412A-AD11-8B1D7ED66996"},{"vulnerable":true,"criteria":"cpe:2.3:a:phpwebgallery:phpwebgallery:1.5.2:*:*:*:*:*:*:*","matchCriteriaId":"4B249FD5-B164-41F3-970E-8701C8C469CB"},{"vulnerable":true,"criteria":"cpe:2.3:a:phpwebgallery:phpwebgallery:1.6:*:*:*:*:*:*:*","matchCriteriaId":"52A75BEC-B94C-403A-92B6-36C4C6E49D65"},{"vulnerable":true,"criteria":"cpe:2.3:a:phpwebgallery:phpwebgallery:1.6.0:*:*:*:*:*:*:*","matchCriteriaId":"261EA07E-62B1-45DF-A21B-3F63B0E528FE"},{"vulnerable":true,"criteria":"cpe:2.3:a:phpwebgallery:phpwebgallery:1.6.1:*:*:*:*:*:*:*","matchCriteriaId":"B90E5405-7F62-4696-BC32-E0133A3E9652"},{"vulnerable":true,"criteria":"cpe:2.3:a:phpwebgallery:phpwebgallery:1.6.2:*:*:*:*:*:*:*","matchCriteriaId":"645D12DC-EBCE-4CAE-8B62-143B66AD1815"},{"vulnerable":true,"criteria":"cpe:2.3:a:phpwebgallery:phpwebgallery:1.7.0:*:*:*:*:*:*:*","matchCriteriaId":"CC5256C5-8612-4961-B813-D560D59E59EC"},{"vulnerable":true,"criteria":"cpe:2.3:a:phpwebgallery:phpwebgallery:1.7.1:*:*:*:*:*:*:*","matchCriteriaId":"874E8A29-1530-4744-A466-05AC7E543EC5"}]}]}],"references":[{"url":"http://pridels0.blogspot.com/2005/12/phpwebgallery-multiple-sql-inj.html","source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/18019","source":"cve@mitre.org","tags":["Vendor Advisory"]},{"url":"http://www.osvdb.org/21689","source":"cve@mitre.org"},{"url":"http://www.osvdb.org/21690","source":"cve@mitre.org"},{"url":"http://www.osvdb.org/21691","source":"cve@mitre.org"},{"url":"http://www.securityfocus.com/bid/15837","source":"cve@mitre.org","tags":["Exploit"]},{"url":"http://www.vupen.com/english/advisories/2005/2881","source":"cve@mitre.org"},{"url":"http://pridels0.blogspot.com/2005/12/phpwebgallery-multiple-sql-inj.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/18019","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"]},{"url":"http://www.osvdb.org/21689","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.osvdb.org/21690","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.osvdb.org/21691","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securityfocus.com/bid/15837","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit"]},{"url":"http://www.vupen.com/english/advisories/2005/2881","source":"af854a3a-2127-422b-91ae-364da2661108"}]}