phpBB NULL byte file upload
phpbb-nullbyte-file-upload (28884) | Medium Risk |
Description:
phpBB and possibly other PHP applications could allow a remote attacker to upload arbitrary files. A remote attacker could upload a malicious image file appending the filename with NULL (%00) bytes, which could allow the attacker to upload and execute arbitrary PHP code on the vulnerable Web server.
*CVSS:
Base Score: | 3.4 |
Access Vector: | Remote |
Access Complexity: | High |
Authentication: | Required |
Confidentiality Impact: | Partial |
Integrity Impact: | Partial |
Availability Impact: | Partial |
Temporal Score: | 2.7 |
Exploitability: | Proof-Of-Concept |
Remediation Level: | Official-Fix |
Report Confidence: | Confirmed |
Consequences:
Gain Access
Remedy:
Upgrade to the latest version of phpBB (2.0.22 or later), available from the phpBB Web site. See References.
References:
- BugTraq Mailing List, Mon Sep 11 2006 - 16:33:56 CDT : ShAnKaR: multiple PHP application poison NULL byte vulnerability.
- phpBB Web site: phpBB:: Creating Communities.
- BID-20347: phpBB Avatar_Path PHP Code Execution Vulnerability
- BID-21806: PHPBB Multiple Input Validation Vulnerabilities
- CVE-2006-4758: phpBB 2.0.21 does not properly handle pathnames ending in %00, which allows remote authenticated administrative users to upload arbitrary files, as demonstrated by a query to admin/admin_board.php with an avatar_path parameter ending in .php%00.
- DSA-1488: phpbb2 -- several vulnerabilities
- OSVDB ID: 29493: phpBB admin/admin_board.php avatar_path Variable Arbitrary File Upload PHP Code Execution
- SA22188: phpBB "avatar_path" PHP Code Execution Vulnerability
Platforms Affected:
- Debian Debian Linux 3.1
- Debian Debian Linux 4.0
- phpBB phpBB 2.0.21
Reported:
Sep 11, 2006
The information within this database may change without notice. 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. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email ignore thisxforceignore this@ignore thisus.ignore thisibm.comignore this
* According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.
The information within this database may change without notice. 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. In no event shall IBM be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.