vendor:
phpBB forum system
by:
valsmith[at]metasploit.com, hdm, patrick
7.5
CVSS
HIGH
Arbitrary Code Execution
CWE
Product Name: phpBB forum system
Affected Version From: 2.0.4
Affected Version To: 2.0.15
Patch Exists: NO
Related CWE: CVE-2005-2086, CVE-2004-1315
CPE:
Metasploit:
https://www.rapid7.com/db/vulnerabilities/freebsd-vid-4afacca1-eb9d-11d9-a8bd-000cf18bbe54/, https://www.rapid7.com/db/vulnerabilities/gentoo-linux-cve-2005-2086/, https://www.rapid7.com/db/vulnerabilities/gentoo-linux-cve-2004-1315/, https://www.rapid7.com/db/vulnerabilities/freebsd-vid-e3cf89f0-53da-11d9-92b7-ceadd4ac2edd/
Platforms Tested: unix
2004
phpBB viewtopic.php Arbitrary Code Execution
This module exploits two arbitrary PHP code execution flaws in the phpBB forum system. The problem is that the 'highlight' parameter in the 'viewtopic.php' script is not verified properly and will allow an attacker to inject arbitrary code via preg_replace(). This vulnerability was introduced in revision 3076, and finally fixed in revision 5166. According to the 'tags' within their tree, this corresponds to versions 2.0.4 through 2.0.15 (inclusive).
Mitigation:
Update to phpBB version 2.0.16 or later.