PHP Input Validation Hole Permits Cross-Site Scripting Attacks and Other Bugs Have Unspecified Impact
|
|
SecurityTracker Alert ID: 1016306
|
|
SecurityTracker URL: http://securitytracker.com/id?1016306
|
|
CVE Reference: CVE-2006-3016
, CVE-2006-3017
, CVE-2006-3018
(Links to External Site)
|
|
OSVDB Reference: 25253
, 25254
, 25255
(Links to External Site)
|
Date: Jun 15 2006
|
Impact: Disclosure of authentication information, Disclosure of user information, Execution of arbitrary code via network, Modification of user information
|
Fix Available: Yes
Vendor Confirmed: Yes
|
Version(s): prior to 5.1.3
|
Description: Several vulnerabilities were reported in PHP. A remote user can conduct cross-site scripting attacks. Other security related flaws were reported but the impact was not specified.
The phpinfo() function does not properly filter HTML code from user-supplied input before displaying the input. For scripts that
invoke phpinfo(), a user can cause arbitrary scripting code to be executed by the target user's browser. The code will originate
from the site running the Php software and will run in the security context of that site. As a result, the code will be able to
access the target user's cookies (including authentication cookies), if any, associated with the site, access data recently submitted
by the target user via web form to the site, or take actions on the site acting as the target user.
A user may be able to trigger
a buffer overflow in the wordwrap() function. The impact was not specified.
A user may be able to trigger a heap corruption
within the session extension. The impact was not specified.
A user may be able to cause a variable to persist after the unset()
function is called. The impact was not specified.
|
Impact: In some cases, a user can access the target user's cookies (including authentication cookies), if any, associated with the site running
the PHP software, access data recently submitted by the target user via web form to the site, or take actions on the site acting
as the target user.
The specific impact depends on the applications that use PHP.
The impact of the other vulnerabilities
was not disclosed.
|
Solution: The vendor has issued a fixed version (5.1.3), available at:
http://www.php.net/downloads.php
|
Vendor URL: www.php.net/release_5_1_3.php (Links to External Site)
|
Cause: Boundary error, Input validation error
|
Underlying OS: Linux (Any), UNIX (Any), Windows (Any)
|
|
Message History:
This archive entry has one or more follow-up message(s) listed below.
|
Source Message Contents
|
Date: Thu, 15 Jun 2006 02:36:54 -0400
Subject: PHP vulnerabilities
|
http://www.php.net/release_5_1_3.php
The security issues resolved include the following:
* Disallow certain characters in session names.
* Fixed a buffer overflow inside the wordwrap() function.
* Prevent jumps to parent directory via the 2nd parameter of the tempnam() function.
* Enforce safe_mode for the source parameter of the copy() function.
* Fixed cross-site scripting inside the phpinfo() function.
* Fixed offset/length parameter validation inside the substr_compare() function.
* Fixed a heap corruption inside the session extension.
* Fixed a bug that would allow variable to survive unset().
CVE-2006-3016
CVE-2006-3017
CVE-2006-3018
OSVDB 25253, 25254, 25255
|
|