CVE-2010-1130 EXPLOIT
5.0
MEDIUM · CVSS 2.0 · EPSS 9.4% (pctl 95)
Patch early
A public exploit exists.
Description
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).
Scoring
| CVSS | 5.0 (MEDIUM, v2.0) |
|---|---|
| Vector | AV:N/AC:L/Au:N/C:N/I:P/A:N |
| EPSS | 9.37% — more likely to be exploited than 95% of all CVEs |
| Weakness | CWE-264 |
| On CISA KEV | no |
| Public exploit | yes |
| Published | 2010-03-26 |
| Last modified | 2026-06-16 |
Affected (1)
| Vendor | Product |
|---|---|
| php | php |
Public exploits
| Source | Title | Date |
|---|---|---|
| exploit-db | PHP 5.3.1 - 'session_save_path() Safe_mode()' Restriction Bypass Exploiot | 2010-02-11 |
References
- http://secunia.com/advisories/38708
- http://securityreason.com/achievement_securityalert/82
- http://securityreason.com/securityalert/7008
- http://securitytracker.com/id?1023661
- http://svn.php.net/viewvc/php/php-src/branches/PHP_5_2/ext/session/session.c?r1=293036&r2=294272
- http://svn.php.net/viewvc/php/php-src/branches/PHP_5_2/ext/session/session.c?view=log
- http://svn.php.net/viewvc/php/php-src/branches/PHP_5_3/ext/session/session.c?r1=293036&r2=294272
- http://svn.php.net/viewvc/php/php-src/branches/PHP_5_3/ext/session/session.c?view=log
- http://www.php.net/ChangeLog-5.php
- http://www.php.net/releases/5_2_13.php
- http://www.vupen.com/english/advisories/2010/0479
- http://secunia.com/advisories/38708
- http://securityreason.com/achievement_securityalert/82
- http://securityreason.com/securityalert/7008
- http://securitytracker.com/id?1023661
- http://svn.php.net/viewvc/php/php-src/branches/PHP_5_2/ext/session/session.c?r1=293036&r2=294272
- http://svn.php.net/viewvc/php/php-src/branches/PHP_5_2/ext/session/session.c?view=log
- http://svn.php.net/viewvc/php/php-src/branches/PHP_5_3/ext/session/session.c?r1=293036&r2=294272
- http://svn.php.net/viewvc/php/php-src/branches/PHP_5_3/ext/session/session.c?view=log
- http://www.php.net/ChangeLog-5.php
→ the Explorer · watch your stack · NVD