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, which causes a parsing inconsistency in which PHP…
Does this matter?
A public exploit is published in Exploit-DB (verified), so the technical barrier is gone even though the severity is medium and EPSS is 1.1%. Treat it as high on anything reachable from the internet.
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.
- CVSS 2.0
- 4.6 MEDIUMAV:L/AC:L/Au:N/C:P/I:P/A:P
- EPSS
- 1.14% probability · 66th percentile
- Public exploits
- 1 in Exploit-DB · verified · first 8 December 2006
- CISA KEV
- Not listed
- Weakness
- CWE-20
- Affected
- php/php
- Source
- cve@mitre.org
EPSS 1.1% since 26 October 2026; no change recorded yet. Points are recorded when the score first appears and whenever it moves by a percentage point or more.
Public exploits (1)
Entries in Exploit-DB that cite this CVE. Links go to the Exploit-DB page and to the file in the public repository; nothing is hosted here. A verified tick means the Exploit-DB team confirmed the exploit works against the stated version.
References
- http://cvs.php.net/viewcvs.cgi/php-src/ext/session/session.c?r1=1.336.2.53.2.7&r2=1.336.2.53.2.8
- http://lists.suse.com/archive/suse-security-announce/2007-Mar/0003.html
- http://secunia.com/advisories/24022Vendor Advisory
- http://secunia.com/advisories/24514Vendor Advisory
- http://securityreason.com/achievement_securityalert/43Exploit
- http://securityreason.com/securityalert/2000
- http://www.mandriva.com/security/advisories?name=MDKSA-2007:038
- http://www.openpkg.com/security/advisories/OpenPKG-SA-2007.010.html
- http://www.securityfocus.com/archive/1/453938/30/9270/threaded
- http://www.securityfocus.com/bid/21508Exploit
- http://cvs.php.net/viewcvs.cgi/php-src/ext/session/session.c?r1=1.336.2.53.2.7&r2=1.336.2.53.2.8
- http://lists.suse.com/archive/suse-security-announce/2007-Mar/0003.html
- http://secunia.com/advisories/24022Vendor Advisory
- http://secunia.com/advisories/24514Vendor Advisory
- http://securityreason.com/achievement_securityalert/43Exploit
- http://securityreason.com/securityalert/2000
- http://www.mandriva.com/security/advisories?name=MDKSA-2007:038
- http://www.openpkg.com/security/advisories/OpenPKG-SA-2007.010.html
- http://www.securityfocus.com/archive/1/453938/30/9270/threaded
- http://www.securityfocus.com/bid/21508Exploit
Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.