PHP header() function could allow cross-site scripting
| php-header-xss (10079) |
Description:
PHP could allow a remote attacker to launch cross-site scripting attacks and cause automatic file downloads, caused by an input validation vulnerability in the header() function. A remote attacker using the PHP header() function could inject malicious script into URL headers by sending a specially-crafted URL request that uses hexadecimal URL encoded characters. This could cause the script to be executed in a victim's Web browser within the security context of the vulnerable server or cause file downloads to be initiated.
Platforms Affected:
- PHP, PHP 4.2.3
- Various vendors, Any Web server
Remedy:
No remedy available as of November 29, 2008.
Consequences:
Gain Access
References:
- BugTraq Mailing List, Sat Sep 07 2002 - 17:36:49 CDT , PHP header() CRLF Injection at http://archives.neohapsis.com/archives/bugtraq/2002-09/0067.html.
- PHP Group Web site, PHP: Hypertext Preprocessor at http://www.php.net/.
- BID-5669: PHP Header Function Script Injection Vulnerability
Reported:
Sep 07, 2002
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
