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-depende...
MediumCVSS 5.0
EPSS 9.5%
PoC
- Published
- Updated
- Exploit status
- Proof-of-concept only
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).
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| PHP | <= 5.2.12 | No fix listed |
| PHP | = 5.0.0 | No fix listed |
| PHP | = 5.0.0-beta1 | No fix listed |
| PHP | = 5.0.0-beta2 | No fix listed |
| PHP | = 5.0.0-beta3 | No fix listed |
| PHP | = 5.0.0-beta4 | No fix listed |
| PHP | = 5.0.0-rc1 | No fix listed |
| PHP | = 5.0.0-rc2 | No fix listed |
| PHP | = 5.0.0-rc3 | No fix listed |
| PHP | = 5.0.1 | No fix listed |
| PHP | = 5.0.2 | No fix listed |
| PHP | = 5.0.3 | No fix listed |
| PHP | = 5.0.4 | No fix listed |
| PHP | = 5.0.5 | No fix listed |
| PHP | = 5.1.0 | No fix listed |
| PHP | = 5.1.1 | No fix listed |
| PHP | = 5.1.2 | No fix listed |
| PHP | = 5.1.3 | No fix listed |
| PHP | = 5.1.4 | No fix listed |
| PHP | = 5.1.5 | No fix listed |
| PHP | = 5.1.6 | No fix listed |
| PHP | = 5.2.0 | No fix listed |
| PHP | = 5.2.1 | No fix listed |
| PHP | = 5.2.2 | No fix listed |
| PHP | = 5.2.3 | No fix listed |
Show 10 more
| Product | Affected versions | Fixed in |
|---|---|---|
| PHP | = 5.2.4 | No fix listed |
| PHP | = 5.2.5 | No fix listed |
| PHP | = 5.2.6 | No fix listed |
| PHP | = 5.2.7 | No fix listed |
| PHP | = 5.2.8 | No fix listed |
| PHP | = 5.2.9 | No fix listed |
| PHP | = 5.2.10 | No fix listed |
| PHP | = 5.2.11 | No fix listed |
| PHP | = 5.2.13 | No fix listed |
| PHP | = 5.3.1 | No fix listed |
References
- 38708 third-party-advisory vendor-advisory
- 20100211 PHP 5.2.12/5.3.1 session.save_path safe_mode and open_basedir bypass third-party-advisory
- 7008 exploit third-party-advisory
- 1023661 vdb-entry
- svn.php.net
- svn.php.net
- svn.php.net
- svn.php.net
- www.php.net
- www.php.net patch
- ADV-2010-0479 vdb-entry vendor-advisory