the ultimate security vulnerability data source
(e.g.: CVE-2009-1234 or 2010-1234 or 20101234)
Log In   Register
Vulnerability Feeds & WidgetsNew  

Vulnerability Details : CVE-2004-1315

viewtopic.php in phpBB 2.x before 2.0.11 improperly URL decodes the highlight parameter when extracting words and phrases to highlight, which allows remote attackers to execute arbitrary PHP code by double-encoding the highlight value so that special characters are inserted into the result, which is then processed by PHP exec, as exploited by the Santy.A worm.
Publish Date : 2004-11-12 Last Update Date : 2017-07-10
Search Twitter   Search YouTube   Search Google

- CVSS Scores & Vulnerability Types

CVSS Score
Confidentiality Impact Partial (There is considerable informational disclosure.)
Integrity Impact Partial (Modification of some system files or information is possible, but the attacker does not have control over what can be modified, or the scope of what the attacker can affect is limited.)
Availability Impact Partial (There is reduced performance or interruptions in resource availability.)
Access Complexity Low (Specialized access conditions or extenuating circumstances do not exist. Very little knowledge or skill is required to exploit. )
Authentication Not required (Authentication is not required to exploit the vulnerability.)
Gained Access User
Vulnerability Type(s) Execute Code
CWE ID CWE id is not defined for this vulnerability

- Products Affected By CVE-2004-1315

# Product Type Vendor Product Version Update Edition Language
1 Application Phpbb Group Phpbb Version Details Vulnerabilities
2 Application Phpbb Group Phpbb 1.0.0 Version Details Vulnerabilities
3 Application Phpbb Group Phpbb 1.0.1 Version Details Vulnerabilities
4 Application Phpbb Group Phpbb 1.2.0 Version Details Vulnerabilities
5 Application Phpbb Group Phpbb 1.2.1 Version Details Vulnerabilities
6 Application Phpbb Group Phpbb 1.4.0 Version Details Vulnerabilities
7 Application Phpbb Group Phpbb 1.4.1 Version Details Vulnerabilities
8 Application Phpbb Group Phpbb 1.4.2 Version Details Vulnerabilities
9 Application Phpbb Group Phpbb 1.4.4 Version Details Vulnerabilities
10 Application Phpbb Group Phpbb 2.0 Rc3 Version Details Vulnerabilities
11 Application Phpbb Group Phpbb 2.0 Rc4 Version Details Vulnerabilities
12 Application Phpbb Group Phpbb 2.0 Beta1 Version Details Vulnerabilities
13 Application Phpbb Group Phpbb 2.0 Rc1 Version Details Vulnerabilities
14 Application Phpbb Group Phpbb 2.0 Rc2 Version Details Vulnerabilities
15 Application Phpbb Group Phpbb 2.0.0 Version Details Vulnerabilities
16 Application Phpbb Group Phpbb 2.0.1 Version Details Vulnerabilities
17 Application Phpbb Group Phpbb 2.0.2 Version Details Vulnerabilities
18 Application Phpbb Group Phpbb 2.0.3 Version Details Vulnerabilities
19 Application Phpbb Group Phpbb 2.0.4 Version Details Vulnerabilities
20 Application Phpbb Group Phpbb 2.0.5 Version Details Vulnerabilities
21 Application Phpbb Group Phpbb 2.0.6 Version Details Vulnerabilities
22 Application Phpbb Group Phpbb 2.0.6c Version Details Vulnerabilities
23 Application Phpbb Group Phpbb 2.0.6d Version Details Vulnerabilities
24 Application Phpbb Group Phpbb 2.0.7 Version Details Vulnerabilities
25 Application Phpbb Group Phpbb 2.0.7a Version Details Vulnerabilities
26 Application Phpbb Group Phpbb 2.0.8a Version Details Vulnerabilities
27 Application Phpbb Group Phpbb 2.0.8 Version Details Vulnerabilities
28 Application Phpbb Group Phpbb 2.0.9 Version Details Vulnerabilities
29 Application Phpbb Group Phpbb 2.0.10 Version Details Vulnerabilities

- Number Of Affected Versions By Product

Vendor Product Vulnerable Versions
Phpbb Group Phpbb 29

- References For CVE-2004-1315
XF phpbb-view-sql-injection(18052)
GENTOO GLSA-200411-32
CERT TA04-356A
BID 10701 phpBB Viewtopic.PHP PHP Script Injection Vulnerability Release Date:2010-05-05
BUGTRAQ 20041222 Re: phpBB Worm CONFIRM
BUGTRAQ 20041220 phpBB Worm
CERT-VN VU#497400
BUGTRAQ 20041112 phpBB Code EXEC (v2.0.10)
BUGTRAQ 20041118 EXEC exploit in phpBB - fix

- Metasploit Modules Related To CVE-2004-1315

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).
Module type : exploit Rank : excellent Platforms : Unix

CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site. OVAL is a registered trademark of The MITRE Corporation and the authoritative source of OVAL content is MITRE's OVAL web site.
Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.