PHP Visit Counter 'read.php' SQL Injection Vulnerability
BID:29454
Info
PHP Visit Counter 'read.php' SQL Injection Vulnerability
| Bugtraq ID: | 29454 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | May 31 2008 12:00AM |
| Updated: | May 31 2008 12:00AM |
| Credit: | Lidloses_Auge |
| Vulnerable: |
Hessel Brouwer PHP Visit Counter 0.4 |
| Not Vulnerable: | |
Discussion
PHP Visit Counter 'read.php' SQL Injection Vulnerability
PHP Visit Counter 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 Visit Counter 0.4 and prior versions are vulnerable.
PHP Visit Counter 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 Visit Counter 0.4 and prior versions are vulnerable.
Exploit / POC
PHP Visit Counter 'read.php' SQL Injection Vulnerability
Attackers can use a browser to exploit this issue.
The following example URI is available:
http://www.example.com/read.php?action=read&cat=portal&datespan=null+group+by+null+union+select+1,2,ascii(substring(version(),1,1))/*
Attackers can use a browser to exploit this issue.
The following example URI is available:
http://www.example.com/read.php?action=read&cat=portal&datespan=null+group+by+null+union+select+1,2,ascii(substring(version(),1,1))/*
Solution / Fix
PHP Visit Counter 'read.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 Visit Counter 'read.php' SQL Injection Vulnerability
References:
References:
- PHP Visit Counter Homepage (Hessel Brouwer)