{"id":"CVE-2008-3659","sourceIdentifier":"cve@mitre.org","published":"2008-08-15T00:41:00.000","lastModified":"2026-06-16T22:56:15.440","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"Buffer overflow in the memnstr function in PHP 4.4.x before 4.4.9 and PHP 5.6 through 5.2.6 allows context-dependent attackers to cause a denial of service (crash) and possibly execute arbitrary code via the delimiter argument to the explode function.  NOTE: the scope of this issue is limited since most applications would not use an attacker-controlled delimiter, but local attacks against safe_mode are feasible."},{"lang":"es","value":"Un desbordamiento de búfer en la función memnstr en versiones de PHP 4.4.x anteriores a 4.4.9 y en PHP 5.6 permite a atacantes provocar una denegación de servicio (con caida de la aplicación) y posiblemente ejecutar código arbitrario a través del argumento delimiter de la función a explotar. NOTA: el alcance de esta cuestión es limitado, ya que la mayoría de las aplicaciones no usan un delimitador controlado por un atacante, pero los ataques locales contra los safe_mode son viables."}],"affected":[{"source":"cve@mitre.org","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:N/I:P/A:P","baseScore":6.4,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"},"baseSeverity":"MEDIUM","exploitabilityScore":10.0,"impactScore":4.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-119"}]}],"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:4.4.1:*:*:*:*:*:*:*","matchCriteriaId":"2BEA491B-77FD-4760-8F6F-3EBC6BD810D9"},{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:4.4.2:*:*:*:*:*:*:*","matchCriteriaId":"BB25CFBB-347C-479E-8853-F49DD6CBD7D4"},{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:4.4.3:*:*:*:*:*:*:*","matchCriteriaId":"4D2937B3-D034-400E-84F5-33833CE3764D"},{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:4.4.4:*:*:*:*:*:*:*","matchCriteriaId":"71AEE8B4-FCF8-483B-8D4C-2E80A02E925E"},{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:4.4.5:*:*:*:*:*:*:*","matchCriteriaId":"4C2AF1D9-33B6-4B2C-9269-426B6B720164"},{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:4.4.6:*:*:*:*:*:*:*","matchCriteriaId":"84B70263-37AA-4539-A286-12038A3792C6"},{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:4.4.7:*:*:*:*:*:*:*","matchCriteriaId":"2E46E4B4-808C-4B47-81D9-EC2B02A5E57B"},{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:4.4.8:*:*:*:*:*:*:*","matchCriteriaId":"6FF30D7F-353B-4496-9A89-4EF2BB279E0A"},{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:5.2.0:*:*:*:*:*:*:*","matchCriteriaId":"CD02D837-FD28-4E0F-93F8-25E8D1C84A99"},{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:5.2.1:*:*:*:*:*:*:*","matchCriteriaId":"88358D1E-BE6F-4CE3-A522-83D1FA4739E3"},{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:5.2.2:*:*:*:*:*:*:*","matchCriteriaId":"D8B97B03-7DA7-4A5F-89B4-E78CAB20DE17"},{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:5.2.3:*:*:*:*:*:*:*","matchCriteriaId":"86767200-6C9C-4C3E-B111-0E5BE61E197B"},{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:5.2.4:*:*:*:*:*:*:*","matchCriteriaId":"B00B416D-FF23-4C76-8751-26D305F0FA0F"},{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:5.2.5:*:*:*:*:*:*:*","matchCriteriaId":"CCB6CDDD-70D3-4004-BCE0-8C4723076103"},{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:5.2.6:*:*:*:*:*:*:*","matchCriteriaId":"A782CA26-9C38-40A8-92AE-D47B14D2FCE3"}]}]}],"references":[{"url":"http://bugs.gentoo.org/show_bug.cgi?id=234102","source":"cve@mitre.org"},{"url":"http://lists.apple.com/archives/security-announce/2009/May/msg00002.html","source":"cve@mitre.org"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2008-09/msg00004.html","source":"cve@mitre.org"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2008-10/msg00006.html","source":"cve@mitre.org"},{"url":"http://marc.info/?l=bugtraq&m=124654546101607&w=2","source":"cve@mitre.org"},{"url":"http://marc.info/?l=bugtraq&m=125631037611762&w=2","source":"cve@mitre.org"},{"url":"http://news.php.net/php.cvs/52002","source":"cve@mitre.org"},{"url":"http://osvdb.org/47483","source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/31982","source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/32148","source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/32316","source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/32746","source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/35074","source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/35650","source":"cve@mitre.org"},{"url":"http://security.gentoo.org/glsa/glsa-200811-05.xml","source":"cve@mitre.org"},{"url":"http://support.apple.com/kb/HT3549","source":"cve@mitre.org"},{"url":"http://wiki.rpath.com/Advisories:rPSA-2009-0035","source":"cve@mitre.org"},{"url":"http://www.debian.org/security/2008/dsa-1647","source":"cve@mitre.org"},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2009:021","source":"cve@mitre.org"},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2009:022","source":"cve@mitre.org"},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2009:023","source":"cve@mitre.org"},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2009:024","source":"cve@mitre.org"},{"url":"http://www.openwall.com/lists/oss-security/2008/08/08/2","source":"cve@mitre.org"},{"url":"http://www.openwall.com/lists/oss-security/2008/08/08/3","source":"cve@mitre.org"},{"url":"http://www.openwall.com/lists/oss-security/2008/08/08/4","source":"cve@mitre.org"},{"url":"http://www.openwall.com/lists/oss-security/2008/08/13/8","source":"cve@mitre.org"},{"url":"http://www.php.net/archive/2008.php#id2008-08-07-1","source":"cve@mitre.org","tags":["Patch"]},{"url":"http://www.securityfocus.com/archive/1/501376/100/0/threaded","source":"cve@mitre.org"},{"url":"http://www.securitytracker.com/id?1020995","source":"cve@mitre.org"},{"url":"http://www.us-cert.gov/cas/techalerts/TA09-133A.html","source":"cve@mitre.org","tags":["US Government Resource"]},{"url":"http://www.vupen.com/english/advisories/2008/2336","source":"cve@mitre.org"},{"url":"http://www.vupen.com/english/advisories/2009/1297","source":"cve@mitre.org"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/44405","source":"cve@mitre.org"},{"url":"http://bugs.gentoo.org/show_bug.cgi?id=234102","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.apple.com/archives/security-announce/2009/May/msg00002.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2008-09/msg00004.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2008-10/msg00006.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://marc.info/?l=bugtraq&m=124654546101607&w=2","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://marc.info/?l=bugtraq&m=125631037611762&w=2","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://news.php.net/php.cvs/52002","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://osvdb.org/47483","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/31982","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/32148","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/32316","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/32746","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/35074","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/35650","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://security.gentoo.org/glsa/glsa-200811-05.xml","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://support.apple.com/kb/HT3549","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://wiki.rpath.com/Advisories:rPSA-2009-0035","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.debian.org/security/2008/dsa-1647","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2009:021","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2009:022","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2009:023","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2009:024","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.openwall.com/lists/oss-security/2008/08/08/2","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.openwall.com/lists/oss-security/2008/08/08/3","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.openwall.com/lists/oss-security/2008/08/08/4","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.openwall.com/lists/oss-security/2008/08/13/8","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.php.net/archive/2008.php#id2008-08-07-1","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]},{"url":"http://www.securityfocus.com/archive/1/501376/100/0/threaded","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securitytracker.com/id?1020995","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.us-cert.gov/cas/techalerts/TA09-133A.html","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["US Government Resource"]},{"url":"http://www.vupen.com/english/advisories/2008/2336","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.vupen.com/english/advisories/2009/1297","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/44405","source":"af854a3a-2127-422b-91ae-364da2661108"}],"evaluatorComment":"Overview contains a typo, should read \"PHP 5.2 through 5.2.6\" not \"5.6 through 5.2.6\".","vendorComments":[{"organization":"Red Hat","comment":"The PHP interpreter does not offer a reliable sandboxed security layer (as found in, say, a JVM) in which untrusted scripts can be run any script run by the PHP interpreter must be trusted with the privileges of the interpreter itself.  We therefore do not classify this issue as security-sensitive since no trust boundary is crossed.\n","lastModified":"2017-08-07T21:32:03.983"}]}