{"id":"CVE-2006-6383","aliases":["EUVD-2006-6366","GHSA-vfqf-7vvp-5w4j"],"status":"published","title":"PHP 5.2.0 and 4.4 allows local users to bypass safe_mode and open_basedir restrictions via a...","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.","severity":{"version":"2.0","score":4.6,"vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.01106,"percentile":0.66057,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"cwes":["CWE-20"],"published":"2006-12-10T20:00:00Z","modified":"2026-06-16T22:33:00Z","exploits":[{"source":"exploitdb","id":"EDB-29239","title":"PHP 5.2 - Session.Save_Path() 'Safe_mode' / 'open_basedir' Restriction Bypass","type":"local","platform":"php","date":"2006-12-08","verified":true,"url":"https://www.exploit-db.com/exploits/29239"}],"products":[{"vendor":"php","product":"php"}],"references":[{"url":"http://secunia.com/advisories/24022","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory"]},{"url":"http://www.openpkg.com/security/advisories/OpenPKG-SA-2007.010.html","tags":["vendor-advisory","x_refsource_OPENPKG","x_transferred"]},{"url":"http://www.securityfocus.com/archive/1/453938/30/9270/threaded","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"http://secunia.com/advisories/24514","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory"]},{"url":"http://securityreason.com/securityalert/2000","tags":["third-party-advisory","x_refsource_SREASON","x_transferred"]},{"url":"http://cvs.php.net/viewcvs.cgi/php-src/ext/session/session.c?r1=1.336.2.53.2.7\u0026r2=1.336.2.53.2.8","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2007:038","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred"]},{"url":"http://securityreason.com/achievement_securityalert/43","tags":["third-party-advisory","x_refsource_SREASONRES","x_transferred","Exploit"]},{"url":"http://lists.suse.com/archive/suse-security-announce/2007-Mar/0003.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://www.securityfocus.com/bid/21508","tags":["vdb-entry","x_refsource_BID","x_transferred","Exploit"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2006-6383"},{"url":"https://github.com/advisories/GHSA-vfqf-7vvp-5w4j"}],"sources":{"cve":[{"id":"CVE-2006-6383","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.","status":"published","published":"2006-12-10T20:00:00Z","modified":"2024-08-07T20:26:46.422Z","updated_at":"2026-11-02T14:33:50.024504Z"}],"euvd":[{"id":"EUVD-2006-6366","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.","status":"published","published":"2006-12-10T20:00:00Z","modified":"2024-08-07T20:26:46Z","updated_at":"2026-11-03T01:15:43.868899Z"}],"ghsa":[{"id":"GHSA-vfqf-7vvp-5w4j","title":"PHP 5.2.0 and 4.4 allows local users to bypass safe_mode and open_basedir restrictions via a...","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.","status":"published","published":"2022-05-01T07:37:22Z","modified":"2023-01-31T05:02:40Z","cwes":["CWE-20"],"updated_at":"2026-11-02T14:48:18.466773Z"}],"nvd":[{"id":"CVE-2006-6383","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.","status":"published","published":"2006-12-10T20:28:00Z","modified":"2026-06-16T22:33:00.383Z","cvss":[{"version":"2.0","score":4.6,"vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:01:09.852738Z"}]}}
