{"api_version":"1","generated_at":"2026-07-23T14:53:11+00:00","cve":"CVE-2006-6383","urls":{"html":"https://cve.report/CVE-2006-6383","api":"https://cve.report/api/cve/CVE-2006-6383.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2006-6383","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2006-6383"},"summary":{"title":"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.","state":"PUBLISHED","assigner":"mitre","published_at":"2006-12-10 20:28:00","updated_at":"2026-04-23 00:35:47"},"problem_types":["CWE-20","n/a"],"metrics":[{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"4.6","severity":"","vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","data":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:P/I:P/A:P","baseScore":4.6,"accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"}}],"references":[{"url":"http://securityreason.com/achievement_securityalert/43","name":"http://securityreason.com/achievement_securityalert/43","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit"],"title":"SecurityReason - PHP 5.2.0 session.save_path safe_mode and open_basedir bypass","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/21508","name":"http://www.securityfocus.com/bid/21508","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit"],"title":"PHP Session.Save_Path() Safe_Mode and Open_Basedir Restriction Bypass Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"http://secunia.com/advisories/24514","name":"http://secunia.com/advisories/24514","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"],"title":"SUSE update for php4 and php5 - Advisories - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://securityreason.com/securityalert/2000","name":"http://securityreason.com/securityalert/2000","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"SecurityReason - PHP 5.2.0 session.save_path safe_mode and open_basedir bypass","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2007:038","name":"http://www.mandriva.com/security/advisories?name=MDKSA-2007:038","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Advisories | Mandriva","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"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","name":"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","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"","mime":"","httpstatus":"-1","archivestatus":"404"},{"url":"http://www.securityfocus.com/archive/1/453938/30/9270/threaded","name":"http://www.securityfocus.com/archive/1/453938/30/9270/threaded","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"SecurityFocus","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.openpkg.com/security/advisories/OpenPKG-SA-2007.010.html","name":"http://www.openpkg.com/security/advisories/OpenPKG-SA-2007.010.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"OpenPKG Corporation: Security: Security Advisories","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/24022","name":"http://secunia.com/advisories/24022","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"],"title":"Mandriva update for php - Advisories - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://lists.suse.com/archive/suse-security-announce/2007-Mar/0003.html","name":"http://lists.suse.com/archive/suse-security-announce/2007-Mar/0003.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"SuSE Security announcements: [suse-security-announce] SUSE Security Announcement: php security problems (SUSE-SA:2007:020)","mime":"text/html","httpstatus":"404","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2006-6383","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2006-6383","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2006","cve_id":"6383","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"php","cpe5":"php","cpe6":"4.4.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2006","cve_id":"6383","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"php","cpe5":"php","cpe6":"5.2.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[{"cvename":"CVE-2006-6383","organization":"Red Hat","lastmodified":"2006-12-19","contributor":"Mark J Cox","statementText":"We do not consider these to be security issues. For more details see http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=169857#c1 and http://www.php.net/security-note.php","cve_year":"2006","cve_id":"6383","crc32":"86eef3b5"}],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-07T20:26:46.422Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"name":"24022","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/24022"},{"name":"OpenPKG-SA-2007.010","tags":["vendor-advisory","x_refsource_OPENPKG","x_transferred"],"url":"http://www.openpkg.com/security/advisories/OpenPKG-SA-2007.010.html"},{"name":"20061208 PHP 5.2.0 session.save_path safe_mode and open_basedir bypass","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"],"url":"http://www.securityfocus.com/archive/1/453938/30/9270/threaded"},{"name":"24514","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/24514"},{"name":"2000","tags":["third-party-advisory","x_refsource_SREASON","x_transferred"],"url":"http://securityreason.com/securityalert/2000"},{"tags":["x_refsource_CONFIRM","x_transferred"],"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"},{"name":"MDKSA-2007:038","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred"],"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2007:038"},{"name":"20061208 PHP 5.2.0 session.save_path safe_mode and open_basedir bypass","tags":["third-party-advisory","x_refsource_SREASONRES","x_transferred"],"url":"http://securityreason.com/achievement_securityalert/43"},{"name":"SUSE-SA:2007:020","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"],"url":"http://lists.suse.com/archive/suse-security-announce/2007-Mar/0003.html"},{"name":"21508","tags":["vdb-entry","x_refsource_BID","x_transferred"],"url":"http://www.securityfocus.com/bid/21508"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2006-12-08T00:00:00.000Z","descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2018-10-17T20:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"name":"24022","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/24022"},{"name":"OpenPKG-SA-2007.010","tags":["vendor-advisory","x_refsource_OPENPKG"],"url":"http://www.openpkg.com/security/advisories/OpenPKG-SA-2007.010.html"},{"name":"20061208 PHP 5.2.0 session.save_path safe_mode and open_basedir bypass","tags":["mailing-list","x_refsource_BUGTRAQ"],"url":"http://www.securityfocus.com/archive/1/453938/30/9270/threaded"},{"name":"24514","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/24514"},{"name":"2000","tags":["third-party-advisory","x_refsource_SREASON"],"url":"http://securityreason.com/securityalert/2000"},{"tags":["x_refsource_CONFIRM"],"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"},{"name":"MDKSA-2007:038","tags":["vendor-advisory","x_refsource_MANDRIVA"],"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2007:038"},{"name":"20061208 PHP 5.2.0 session.save_path safe_mode and open_basedir bypass","tags":["third-party-advisory","x_refsource_SREASONRES"],"url":"http://securityreason.com/achievement_securityalert/43"},{"name":"SUSE-SA:2007:020","tags":["vendor-advisory","x_refsource_SUSE"],"url":"http://lists.suse.com/archive/suse-security-announce/2007-Mar/0003.html"},{"name":"21508","tags":["vdb-entry","x_refsource_BID"],"url":"http://www.securityfocus.com/bid/21508"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2006-6383","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"24022","refsource":"SECUNIA","url":"http://secunia.com/advisories/24022"},{"name":"OpenPKG-SA-2007.010","refsource":"OPENPKG","url":"http://www.openpkg.com/security/advisories/OpenPKG-SA-2007.010.html"},{"name":"20061208 PHP 5.2.0 session.save_path safe_mode and open_basedir bypass","refsource":"BUGTRAQ","url":"http://www.securityfocus.com/archive/1/453938/30/9270/threaded"},{"name":"24514","refsource":"SECUNIA","url":"http://secunia.com/advisories/24514"},{"name":"2000","refsource":"SREASON","url":"http://securityreason.com/securityalert/2000"},{"name":"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","refsource":"CONFIRM","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"},{"name":"MDKSA-2007:038","refsource":"MANDRIVA","url":"http://www.mandriva.com/security/advisories?name=MDKSA-2007:038"},{"name":"20061208 PHP 5.2.0 session.save_path safe_mode and open_basedir bypass","refsource":"SREASONRES","url":"http://securityreason.com/achievement_securityalert/43"},{"name":"SUSE-SA:2007:020","refsource":"SUSE","url":"http://lists.suse.com/archive/suse-security-announce/2007-Mar/0003.html"},{"name":"21508","refsource":"BID","url":"http://www.securityfocus.com/bid/21508"}]}}}},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2006-6383","datePublished":"2006-12-10T20:00:00.000Z","dateReserved":"2006-12-07T00:00:00.000Z","dateUpdated":"2024-08-07T20:26:46.422Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2006-12-10 20:28:00","lastModifiedDate":"2026-04-23 00:35:47","problem_types":["CWE-20","n/a"],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:P/I:P/A:P","baseScore":4.6,"accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"},"baseSeverity":"MEDIUM","exploitabilityScore":3.9,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:4.4.0:*:*:*:*:*:*:*","matchCriteriaId":"78B7BA75-2A32-4A8E-ADF8-BCB4FC48CB5C"},{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:5.2.0:*:*:*:*:*:*:*","matchCriteriaId":"CD02D837-FD28-4E0F-93F8-25E8D1C84A99"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2006","CveId":"6383","Ordinal":"1","Title":"CVE-2006-6383","CVE":"CVE-2006-6383","Year":"2006"},"notes":[{"CveYear":"2006","CveId":"6383","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"CVE-2006-6383"},{"CveYear":"2006","CveId":"6383","Ordinal":"2","NoteData":"2006-12-10","Type":"Other","Title":"Published"},{"CveYear":"2006","CveId":"6383","Ordinal":"3","NoteData":"2018-10-17","Type":"Other","Title":"Modified"}]}}}