phpBB NULL byte file upload
| phpbb-nullbyte-file-upload (28884) |
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.
Platforms Affected:
- Debian, Debian Linux 3.1
- Debian, Debian Linux 4.0
- phpBB, phpBB 2.0.21
Remedy:
Upgrade to the latest version of phpBB (2.0.22 or later), available from the phpBB Web site. See References.
Consequences:
Gain Access
References:
- BugTraq Mailing List, Mon Sep 11 2006 - 16:33:56 CDT , ShAnKaR: multiple PHP application poison NULL byte vulnerability at http://archives.neohapsis.com/archives/bugtraq/2006-09/0168.html.
- phpBB Web site, phpBB:: Creating Communities at http://www.phpbb.com/.
- 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
- SA22188: phpBB "avatar_path" PHP Code Execution Vulnerability
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 (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.
Copyright (c) 1994-2008 Internet Security Systems, Inc. All rights reserved worldwide.
For corrections or additions please email xforce@iss.net
