[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Sqlbuddy Directory Traversal Read Arbitrary Files Vulnerability
Sqlbuddy Directory Traversal Read Arbitrary Files Vulnerability.
sqlbuddy version 1.3.3 SQL Buddy is an open source web based MySQL administration application.
sqlbuddy suffers from directory traversal whereby a user can move about directories an read any PHP and non PHP files by appending
the '#' hash character when requesting files via URLs.
e.g. .doc, .txt, .xml, .conf, .sql etc...
After adding the '#' character as a delimiter any non PHP will be returned and rendered by subverting the .php concatenation used
by sqlbuddy when requesting PHP pages via POST method.
Normal sqlbuddy request:
POC exploit payloads:
1-Read from Apache restricted directory under htdocs:
2-Read any arbitrary files that do not have .PHP extensions:
3-Read phpinfo (no need for '#' as phpinfo is a PHP file):
Vendor Notification N/A
May 8, 2015: Public Disclosure - hyp3rlinx
Create a test file with non .php extension in some htdocs directory then request the page in the browser.
[+] sqlbuddy 1.3.3
[+] Server directories & sensitive files
Solution - Fix & Patch:
Credits: John Page ( hyp3rlinx )
Disclaimer & Information:
The information provided in this advisory is provided as it is without any warranty. the security research reporter John Page disclaims all warranties, either expressed or implied, including the warranties of merchantability and capability for a particular purpose. apparitionsec or its suppliers are not liable in any case of damage, including direct, indirect, incidental, consequential loss of business profits or special damages.