{"id":"CVE-2005-3389","state":"PUBLISHED","title":"The parse_str function in PHP 4.x up to 4.4.0 and 5.x up to 5.0.5, when called with only one parameter, allows remote attackers to enable the register_globals directive via inputs ","description":"The parse_str function in PHP 4.x up to 4.4.0 and 5.x up to 5.0.5, when called with only one parameter, allows remote attackers to enable the register_globals directive via inputs that cause a request to be terminated due to the memory_limit setting, which causes PHP to set an internal flag that enables register_globals and allows attackers to exploit vulnerabilities in PHP applications that would otherwise be protected.","publishedAt":"2005-11-01T02:00:00.000Z","updatedAt":"2024-08-07T23:10:08.579Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["http://www.securityfocus.com/bid/15249","http://secunia.com/advisories/21252","http://secunia.com/advisories/22691","http://securityreason.com/securityalert/134","http://www.mandriva.com/security/advisories?name=MDKSA-2005:213","http://www.redhat.com/support/errata/RHSA-2005-831.html","http://www.turbolinux.com/security/2006/TLSA-2006-38.txt","http://support.avaya.com/elmodocs2/security/ASA-2006-037.htm","http://secunia.com/advisories/18198","http://itrc.hp.com/service/cki/docDisplay.do?docId=c00786522","http://secunia.com/advisories/18054","http://www.vupen.com/english/advisories/2005/2254","http://www.securityfocus.com/archive/1/415291","http://securitytracker.com/id?1015131","http://www.hardened-php.net/advisory_192005.78.html","http://secunia.com/advisories/17559","http://www.fedoralegacy.org/updates/FC2/2005-11-28-FLSA_2005_166943__Updated_php_packages_fix_security_issues.html","http://secunia.com/advisories/17371","http://www.vupen.com/english/advisories/2006/4320","http://rhn.redhat.com/errata/RHSA-2006-0549.html","http://secunia.com/advisories/17490","http://www.securityfocus.com/archive/1/419504/100/0/threaded","https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11481","http://www.php.net/release_4_4_1.php","http://secunia.com/advisories/17510","http://secunia.com/advisories/17531","http://www.openpkg.org/security/OpenPKG-SA-2005.027-php.html","http://secunia.com/advisories/18669","http://secunia.com/advisories/17557","http://www.gentoo.org/security/en/glsa/glsa-200511-08.xml","https://www.ubuntu.com/usn/usn-232-1/","http://www.redhat.com/support/errata/RHSA-2005-838.html","http://www.novell.com/linux/security/advisories/2005_27_sr.html"],"weaknesses":[],"ingestedAt":"2026-10-29T19:27:25.655Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2005/3xxx/CVE-2005-3389.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2005-3389","state":"PUBLISHED","datePublished":"2005-11-01T02:00:00.000Z","dateUpdated":"2024-08-07T23:10:08.579Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2005-11-01T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"The parse_str function in PHP 4.x up to 4.4.0 and 5.x up to 5.0.5, when called with only one parameter, allows remote attackers to enable the register_globals directive via inputs that cause a request to be terminated due to the memory_limit setting, which causes PHP to set an internal flag that enables register_globals and allows attackers to exploit vulnerabilities in PHP applications that would otherwise be protected."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"http://www.securityfocus.com/bid/15249","name":"15249","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://secunia.com/advisories/21252","name":"21252","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/22691","name":"22691","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://securityreason.com/securityalert/134","name":"134","tags":["third-party-advisory","x_refsource_SREASON"]},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2005:213","name":"MDKSA-2005:213","tags":["vendor-advisory","x_refsource_MANDRIVA"]},{"url":"http://www.redhat.com/support/errata/RHSA-2005-831.html","name":"RHSA-2005:831","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.turbolinux.com/security/2006/TLSA-2006-38.txt","name":"TLSA-2006-38","tags":["vendor-advisory","x_refsource_TURBO"]},{"url":"http://support.avaya.com/elmodocs2/security/ASA-2006-037.htm","tags":["x_refsource_CONFIRM"]},{"url":"http://secunia.com/advisories/18198","name":"18198","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://itrc.hp.com/service/cki/docDisplay.do?docId=c00786522","name":"SSRT061238","tags":["vendor-advisory","x_refsource_HP"]},{"url":"http://itrc.hp.com/service/cki/docDisplay.do?docId=c00786522","name":"HPSBMA02159","tags":["vendor-advisory","x_refsource_HP"]},{"url":"http://secunia.com/advisories/18054","name":"18054","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.vupen.com/english/advisories/2005/2254","name":"ADV-2005-2254","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://www.securityfocus.com/archive/1/415291","name":"20051031 Advisory 19/2005: PHP register_globals Activation Vulnerability in parse_str()","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://securitytracker.com/id?1015131","name":"1015131","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"http://www.hardened-php.net/advisory_192005.78.html","tags":["x_refsource_MISC"]},{"url":"http://secunia.com/advisories/17559","name":"17559","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.fedoralegacy.org/updates/FC2/2005-11-28-FLSA_2005_166943__Updated_php_packages_fix_security_issues.html","name":"FLSA:166943","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"http://secunia.com/advisories/17371","name":"17371","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.vupen.com/english/advisories/2006/4320","name":"ADV-2006-4320","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://rhn.redhat.com/errata/RHSA-2006-0549.html","name":"RHSA-2006:0549","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://secunia.com/advisories/17490","name":"17490","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.securityfocus.com/archive/1/419504/100/0/threaded","name":"SUSE-SA:2005:069","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11481","name":"oval:org.mitre.oval:def:11481","tags":["vdb-entry","signature","x_refsource_OVAL"]},{"url":"http://www.php.net/release_4_4_1.php","tags":["x_refsource_CONFIRM"]},{"url":"http://secunia.com/advisories/17510","name":"17510","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/17531","name":"17531","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.openpkg.org/security/OpenPKG-SA-2005.027-php.html","name":"OpenPKG-SA-2005.027","tags":["vendor-advisory","x_refsource_OPENPKG"]},{"url":"http://secunia.com/advisories/18669","name":"18669","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/17557","name":"17557","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.gentoo.org/security/en/glsa/glsa-200511-08.xml","name":"GLSA-200511-08","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"https://www.ubuntu.com/usn/usn-232-1/","name":"USN-232-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://www.redhat.com/support/errata/RHSA-2005-838.html","name":"RHSA-2005:838","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.novell.com/linux/security/advisories/2005_27_sr.html","name":"SUSE-SR:2005:027","tags":["vendor-advisory","x_refsource_SUSE"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2018-10-19T14:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2005-10-31T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2005-3389","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":"The parse_str function in PHP 4.x up to 4.4.0 and 5.x up to 5.0.5, when called with only one parameter, allows remote attackers to enable the register_globals directive via inputs that cause a request to be terminated due to the memory_limit setting, which causes PHP to set an internal flag that enables register_globals and allows attackers to exploit vulnerabilities in PHP applications that would otherwise be protected."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"15249","refsource":"BID","url":"http://www.securityfocus.com/bid/15249"},{"name":"21252","refsource":"SECUNIA","url":"http://secunia.com/advisories/21252"},{"name":"22691","refsource":"SECUNIA","url":"http://secunia.com/advisories/22691"},{"name":"134","refsource":"SREASON","url":"http://securityreason.com/securityalert/134"},{"name":"MDKSA-2005:213","refsource":"MANDRIVA","url":"http://www.mandriva.com/security/advisories?name=MDKSA-2005:213"},{"name":"RHSA-2005:831","refsource":"REDHAT","url":"http://www.redhat.com/support/errata/RHSA-2005-831.html"},{"name":"TLSA-2006-38","refsource":"TURBO","url":"http://www.turbolinux.com/security/2006/TLSA-2006-38.txt"},{"name":"http://support.avaya.com/elmodocs2/security/ASA-2006-037.htm","refsource":"CONFIRM","url":"http://support.avaya.com/elmodocs2/security/ASA-2006-037.htm"},{"name":"18198","refsource":"SECUNIA","url":"http://secunia.com/advisories/18198"},{"name":"SSRT061238","refsource":"HP","url":"http://itrc.hp.com/service/cki/docDisplay.do?docId=c00786522"},{"name":"HPSBMA02159","refsource":"HP","url":"http://itrc.hp.com/service/cki/docDisplay.do?docId=c00786522"},{"name":"18054","refsource":"SECUNIA","url":"http://secunia.com/advisories/18054"},{"name":"ADV-2005-2254","refsource":"VUPEN","url":"http://www.vupen.com/english/advisories/2005/2254"},{"name":"20051031 Advisory 19/2005: PHP register_globals Activation Vulnerability in parse_str()","refsource":"BUGTRAQ","url":"http://www.securityfocus.com/archive/1/415291"},{"name":"1015131","refsource":"SECTRACK","url":"http://securitytracker.com/id?1015131"},{"name":"http://www.hardened-php.net/advisory_192005.78.html","refsource":"MISC","url":"http://www.hardened-php.net/advisory_192005.78.html"},{"name":"17559","refsource":"SECUNIA","url":"http://secunia.com/advisories/17559"},{"name":"FLSA:166943","refsource":"FEDORA","url":"http://www.fedoralegacy.org/updates/FC2/2005-11-28-FLSA_2005_166943__Updated_php_packages_fix_security_issues.html"},{"name":"17371","refsource":"SECUNIA","url":"http://secunia.com/advisories/17371"},{"name":"ADV-2006-4320","refsource":"VUPEN","url":"http://www.vupen.com/english/advisories/2006/4320"},{"name":"RHSA-2006:0549","refsource":"REDHAT","url":"http://rhn.redhat.com/errata/RHSA-2006-0549.html"},{"name":"17490","refsource":"SECUNIA","url":"http://secunia.com/advisories/17490"},{"name":"SUSE-SA:2005:069","refsource":"SUSE","url":"http://www.securityfocus.com/archive/1/419504/100/0/threaded"},{"name":"oval:org.mitre.oval:def:11481","refsource":"OVAL","url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11481"},{"name":"http://www.php.net/release_4_4_1.php","refsource":"CONFIRM","url":"http://www.php.net/release_4_4_1.php"},{"name":"17510","refsource":"SECUNIA","url":"http://secunia.com/advisories/17510"},{"name":"17531","refsource":"SECUNIA","url":"http://secunia.com/advisories/17531"},{"name":"OpenPKG-SA-2005.027","refsource":"OPENPKG","url":"http://www.openpkg.org/security/OpenPKG-SA-2005.027-php.html"},{"name":"18669","refsource":"SECUNIA","url":"http://secunia.com/advisories/18669"},{"name":"17557","refsource":"SECUNIA","url":"http://secunia.com/advisories/17557"},{"name":"GLSA-200511-08","refsource":"GENTOO","url":"http://www.gentoo.org/security/en/glsa/glsa-200511-08.xml"},{"name":"USN-232-1","refsource":"UBUNTU","url":"https://www.ubuntu.com/usn/usn-232-1/"},{"name":"RHSA-2005:838","refsource":"REDHAT","url":"http://www.redhat.com/support/errata/RHSA-2005-838.html"},{"name":"SUSE-SR:2005:027","refsource":"SUSE","url":"http://www.novell.com/linux/security/advisories/2005_27_sr.html"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.securityfocus.com/bid/15249","name":"15249","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://secunia.com/advisories/21252","name":"21252","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://secunia.com/advisories/22691","name":"22691","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://securityreason.com/securityalert/134","name":"134","tags":["third-party-advisory","x_refsource_SREASON","x_transferred"]},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2005:213","name":"MDKSA-2005:213","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred"]},{"url":"http://www.redhat.com/support/errata/RHSA-2005-831.html","name":"RHSA-2005:831","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://www.turbolinux.com/security/2006/TLSA-2006-38.txt","name":"TLSA-2006-38","tags":["vendor-advisory","x_refsource_TURBO","x_transferred"]},{"url":"http://support.avaya.com/elmodocs2/security/ASA-2006-037.htm","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://secunia.com/advisories/18198","name":"18198","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://itrc.hp.com/service/cki/docDisplay.do?docId=c00786522","name":"SSRT061238","tags":["vendor-advisory","x_refsource_HP","x_transferred"]},{"url":"http://itrc.hp.com/service/cki/docDisplay.do?docId=c00786522","name":"HPSBMA02159","tags":["vendor-advisory","x_refsource_HP","x_transferred"]},{"url":"http://secunia.com/advisories/18054","name":"18054","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.vupen.com/english/advisories/2005/2254","name":"ADV-2005-2254","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"]},{"url":"http://www.securityfocus.com/archive/1/415291","name":"20051031 Advisory 19/2005: PHP register_globals Activation Vulnerability in parse_str()","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"http://securitytracker.com/id?1015131","name":"1015131","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred"]},{"url":"http://www.hardened-php.net/advisory_192005.78.html","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://secunia.com/advisories/17559","name":"17559","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.fedoralegacy.org/updates/FC2/2005-11-28-FLSA_2005_166943__Updated_php_packages_fix_security_issues.html","name":"FLSA:166943","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"http://secunia.com/advisories/17371","name":"17371","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.vupen.com/english/advisories/2006/4320","name":"ADV-2006-4320","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"]},{"url":"http://rhn.redhat.com/errata/RHSA-2006-0549.html","name":"RHSA-2006:0549","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://secunia.com/advisories/17490","name":"17490","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.securityfocus.com/archive/1/419504/100/0/threaded","name":"SUSE-SA:2005:069","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11481","name":"oval:org.mitre.oval:def:11481","tags":["vdb-entry","signature","x_refsource_OVAL","x_transferred"]},{"url":"http://www.php.net/release_4_4_1.php","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://secunia.com/advisories/17510","name":"17510","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://secunia.com/advisories/17531","name":"17531","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.openpkg.org/security/OpenPKG-SA-2005.027-php.html","name":"OpenPKG-SA-2005.027","tags":["vendor-advisory","x_refsource_OPENPKG","x_transferred"]},{"url":"http://secunia.com/advisories/18669","name":"18669","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://secunia.com/advisories/17557","name":"17557","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.gentoo.org/security/en/glsa/glsa-200511-08.xml","name":"GLSA-200511-08","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"]},{"url":"https://www.ubuntu.com/usn/usn-232-1/","name":"USN-232-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"http://www.redhat.com/support/errata/RHSA-2005-838.html","name":"RHSA-2005:838","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://www.novell.com/linux/security/advisories/2005_27_sr.html","name":"SUSE-SR:2005:027","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-07T23:10:08.579Z"}}]}}}