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…
- 5.0MediumCVSS base score
- 9.5%Exploitation in 30 daysEPSS · top 4.5% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- 1Public exploitsMetasploit, Nuclei and Exploit-DB
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).
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list an Exploit-DB entry for it.
Show the exploits1
Exploit-DB1 entry
- PHP 5.3.1 - 'session_save_path() Safe_mode()' Restriction Bypass Exploiot (Exploit-DB entry) (opens in a new tab)
EDB-ID 33625dos, phppublished 11 Feb 2010Verified
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By mitre
Published
- 14 years later
· 14 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
- EPSS (exploitation in 30 days)
- 9.5% · top 4.5% of all CVEs (10 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.0.
Affected products
n/a
- affected n/a
References
11
- http://svn.php.net/viewvc/php/php-src/branches/PHP_5_2/ext/session/session.c?r1=293036&r2=294272 (opens in a new tab)x_refsource_CONFIRMx_transferred
- ADV-2010-0479 (opens in a new tab)vdb-entryx_refsource_VUPENx_transferred
- http://www.php.net/releases/5_2_13.php (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://svn.php.net/viewvc/php/php-src/branches/PHP_5_3/ext/session/session.c?r1=293036&r2=294272 (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://www.php.net/ChangeLog-5.php (opens in a new tab)x_refsource_CONFIRMx_transferred
- 38708 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- http://svn.php.net/viewvc/php/php-src/branches/PHP_5_3/ext/session/session.c?view=log (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://svn.php.net/viewvc/php/php-src/branches/PHP_5_2/ext/session/session.c?view=log (opens in a new tab)x_refsource_CONFIRMx_transferred
- 1023661 (opens in a new tab)vdb-entryx_refsource_SECTRACKx_transferred
- 20100211 PHP 5.2.12/5.3.1 session.save_path safe_mode and open_basedir bypass (opens in a new tab)third-party-advisoryx_refsource_SREASONRESx_transferred
- 7008 (opens in a new tab)third-party-advisoryx_refsource_SREASONx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2010-1161 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2010-1130)Record last updated .