National Cyber Awareness System
Vulnerability Summary for CVE-2010-1130
Original release date:03/26/2010
Last revised:06/08/2010
Source:
US-CERT/NIST
Overview
session.c in the session extension in PHP before 5.2.13, and 5.3.1, does not properly interpret ; (semicolon) characters in the argument to the session_save_path function, which allows context-dependent attackers to bypass open_basedir and safe_mode restrictions via an argument that contains multiple ; characters in conjunction with a .. (dot dot).
Impact
CVSS Severity (version 2.0):
Impact Subscore:
2.9
Exploitability Subscore:
10.0
CVSS Version 2 Metrics:
Access Vector: Network exploitable
Access Complexity: Low
Authentication: Not required to exploit
Impact Type:Allows unauthorized modification
Official Statement from Red Hat (03/27/2010)
We do not consider safe_mode / open_basedir restriction bypass issues being security sensitive. For more details see http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=169857#c1 and http://www.php.net/security-note.php
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.
External Source: CONFIRM
Name: http://www.php.net/releases/5_2_13.php
Type: Patch Information
External Source: VUPEN
Name: ADV-2010-0479
Type: Advisory
External Source: CONFIRM
Name: http://www.php.net/ChangeLog-5.php
External Source: CONFIRM
Name: http://svn.php.net/viewvc/php/php-src/branches/PHP_5_3/ext/session/session.c?view=log
External Source: CONFIRM
Name: http://svn.php.net/viewvc/php/php-src/branches/PHP_5_3/ext/session/session.c?r1=293036&r2=294272
External Source: CONFIRM
Name: http://svn.php.net/viewvc/php/php-src/branches/PHP_5_2/ext/session/session.c?view=log
External Source: CONFIRM
Name: http://svn.php.net/viewvc/php/php-src/branches/PHP_5_2/ext/session/session.c?r1=293036&r2=294272
External Source: SECTRACK
Name: 1023661
External Source: SREASON
Name: 7008
External Source: SREASONRES
Name: 20100211 PHP 5.2.12/5.3.1 session.save_path safe_mode and open_basedir bypass
External Source: SECUNIA
Name: 38708
Type: Advisory
Technical Details
- Permissions, Privileges, and Access Control (CWE-264)