CVE-2006-6383 PHP 5.2.0 and 4.4 allows local users to bypass safe_mode and open_basedir restrictions via a malicious path and a null byte before a ";" in a session_save_path argument, followed by an allowed path, w...
MediumCVSS 4.6
EPSS 1.1%
Public exploit
- Published
- Updated
- Exploit status
- Public exploit available
Description
PHP 5.2.0 and 4.4 allows local users to bypass safe_mode and open_basedir restrictions via a malicious path and a null byte before a ";" in a session_save_path argument, followed by an allowed path, which causes a parsing inconsistency in which PHP validates the allowed path but sets session.save_path to the malicious path.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| PHP | = 4.4.0 | No fix listed |
| PHP | = 5.2.0 | No fix listed |
References
- cvs.php.net
- SUSE-SA:2007:020 vendor-advisory
- 24022 third-party-advisory vendor-advisory
- 24514 third-party-advisory vendor-advisory
- 20061208 PHP 5.2.0 session.save_path safe_mode and open_basedir bypass exploit third-party-advisory
- 2000 third-party-advisory
- MDKSA-2007:038 vendor-advisory
- OpenPKG-SA-2007.010 vendor-advisory
- 20061208 PHP 5.2.0 session.save_path safe_mode and open_basedir bypass mailing-list
- 21508 exploit vdb-entry