Vulnerability in PHP
CVE-2010-1130
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).
Published · last modified .
CVSS v2 metric
CVSS v2 base score 5.0 (Medium). Vector: AV:N/AC:L/Au:N/C:N/I:P/A:N. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.095, 95.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- PHP — versions 5.1.2, 5.0.0, 5.2.3
Weakness classification (CWE)
References
- secunia.com/advisories/38708 (Vendor Advisory, third-party-advisory)
- 20100211 PHP 5.2.12/5.3.1 session.save_path safe_mode and open_basedir bypass (third-party-advisory)
- securityreason.com/securityalert/7008 (Exploit, third-party-advisory)
- securitytracker.com/id (vdb-entry)
- svn.php.net/viewvc/php/php-src/branches/PHP_5_2/ext/session/session.c
- svn.php.net/viewvc/php/php-src/branches/PHP_5_2/ext/session/session.c
- svn.php.net/viewvc/php/php-src/branches/PHP_5_3/ext/session/session.c
- svn.php.net/viewvc/php/php-src/branches/PHP_5_3/ext/session/session.c
- www.php.net/ChangeLog-5.php
- www.php.net/releases/5_2_13.php (Patch)