{"id":"CVE-2006-6383","url":"https://www.cyber-defence.io/tools/cve/CVE-2006-6383","generatedAt":"2026-10-27T21:09:17.877Z","title":"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…","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.","published":"2006-12-10T20:28:00.000Z","lastModified":"2026-06-16T22:33:00.000Z","status":"Modified","sourceIdentifier":"cve@mitre.org","cvss":{"version":"2.0","score":4.6,"severity":"MEDIUM","vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P"},"cwe":["CWE-20"],"affected":["php/php"],"epss":{"score":0.01138,"percentile":0.66365,"date":"2026-10-26","history":[]},"kev":{"listed":false},"exploits":{"count":1,"verified":true,"firstPublished":"2006-12-08","source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[{"edbId":29239,"kind":"exploit","title":"PHP 5.2 - Session.Save_Path() 'Safe_mode' / 'open_basedir' Restriction Bypass","url":"https://www.exploit-db.com/exploits/29239","sourceUrl":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/php/local/29239.txt","file":"exploits/php/local/29239.txt","published":"2006-12-08","added":"2006-12-08","updated":"2013-10-28","author":"Maksymilian Arciemowicz","type":"local","platform":"php","port":null,"verified":true,"codes":["CVE-2006-6383","OSVDB-33269"],"tags":null,"aliases":null,"applicationUrl":null,"screenshotUrl":null,"referenceUrl":"https://www.securityfocus.com/bid/21508/info"}]},"verdict":{"level":"high","text":"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."},"changes":[],"references":[{"url":"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","source":"cve@mitre.org"},{"url":"http://lists.suse.com/archive/suse-security-announce/2007-Mar/0003.html","source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/24022","tags":["Vendor Advisory"],"source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/24514","tags":["Vendor Advisory"],"source":"cve@mitre.org"},{"url":"http://securityreason.com/achievement_securityalert/43","tags":["Exploit"],"source":"cve@mitre.org"},{"url":"http://securityreason.com/securityalert/2000","source":"cve@mitre.org"},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2007:038","source":"cve@mitre.org"},{"url":"http://www.openpkg.com/security/advisories/OpenPKG-SA-2007.010.html","source":"cve@mitre.org"},{"url":"http://www.securityfocus.com/archive/1/453938/30/9270/threaded","source":"cve@mitre.org"},{"url":"http://www.securityfocus.com/bid/21508","tags":["Exploit"],"source":"cve@mitre.org"},{"url":"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","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.suse.com/archive/suse-security-announce/2007-Mar/0003.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/24022","tags":["Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/24514","tags":["Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://securityreason.com/achievement_securityalert/43","tags":["Exploit"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://securityreason.com/securityalert/2000","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2007:038","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.openpkg.com/security/advisories/OpenPKG-SA-2007.010.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securityfocus.com/archive/1/453938/30/9270/threaded","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securityfocus.com/bid/21508","tags":["Exploit"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2006-6383","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}