# CVE-2006-6383: PHP 5.2.0 and 4.4 allows local users to bypass safemode and openbasedir restrictions via a malicious path and a null byte before a ";" in a…

- Severity: Medium 4.6 (CVSS:2.0, scored by NVD) `AV:L/AC:L/Au:N/C:P/I:P/A:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.11%, higher than 66% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2006-12-10T20:00:00.000Z
- Modified: 2026-06-16T22:33:00.383Z
- Weaknesses: CWE-20
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- php php: 4.4.0; 5.2.0

## References

- <http://securityreason.com/achievement_securityalert/43> (exploit, third-party-advisory)
- <http://www.securityfocus.com/bid/21508> (exploit, vdb-entry)
- <http://secunia.com/advisories/24022> (third-party-advisory, vendor-advisory)
- <http://www.openpkg.com/security/advisories/OpenPKG-SA-2007.010.html> (vendor-advisory)
- <http://www.securityfocus.com/archive/1/453938/30/9270/threaded> (mailing-list)
- <http://secunia.com/advisories/24514> (third-party-advisory, vendor-advisory)
- <http://securityreason.com/securityalert/2000> (third-party-advisory)
- <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://www.mandriva.com/security/advisories?name=MDKSA-2007:038> (vendor-advisory)
- <http://lists.suse.com/archive/suse-security-announce/2007-Mar/0003.html> (vendor-advisory)

## Sources

- CVE List: [CVE-2006-6383](https://www.cve.org/CVERecord?id=CVE-2006-6383), CVE Terms of Use, modified 2024-08-07
- NVD: [CVE-2006-6383](https://nvd.nist.gov/vuln/detail/CVE-2006-6383), Public domain, modified 2026-06-16

---

Page: https://cve.day/CVE-2006-6383 · Whole record: https://cve.day/CVE-2006-6383.json · Rebuilt by cve.day 2026-11-25T22:56:58.810Z
