National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2008-3659 Detail

Description

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.

Source:  MITRE      Last Modified:  08/14/2008

Evaluator Description

Overview contains a typo, should read "PHP 5.2 through 5.2.6" not "5.6 through 5.2.6".

Quick Info

CVE Dictionary Entry:
CVE-2008-3659
Original release date:
08/14/2008
Last revised:
08/07/2017
Source:
US-CERT/NIST

Impact

CVSS Severity (version 2.0):
CVSS v2 Base Score:
6.4 MEDIUM
Vector:
(AV:N/AC:L/Au:N/C:N/I:P/A:P) (legend)
Impact Subscore:
4.9
Exploitability Subscore:
10.0
CVSS Version 2 Metrics:
Access Vector:
Network exploitable
Access Complexity:
Low
Authentication:
Not required to exploit
Impact Type:
Allows unauthorized modification; Allows disruption of service

Vendor Statements (disclaimer)

Official Statement from Red Hat (01/01/1900)

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.

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource Type Source Name
http://bugs.gentoo.org/show_bug.cgi?id=234102 External Source CONFIRM http://bugs.gentoo.org/show_bug.cgi?id=234102
http://lists.apple.com/archives/security-announce/2009/May/msg00002.html External Source APPLE APPLE-SA-2009-05-12
http://lists.opensuse.org/opensuse-security-announce/2008-09/msg00004.html External Source SUSE SUSE-SR:2008:018
http://lists.opensuse.org/opensuse-security-announce/2008-10/msg00006.html External Source SUSE SUSE-SR:2008:021
http://marc.info/?l=bugtraq&m=124654546101607&w=2 External Source HP SSRT090085
http://marc.info/?l=bugtraq&m=125631037611762&w=2 External Source HP SSRT090192
http://news.php.net/php.cvs/52002 External Source CONFIRM http://news.php.net/php.cvs/52002
http://security.gentoo.org/glsa/glsa-200811-05.xml External Source GENTOO GLSA-200811-05
http://support.apple.com/kb/HT3549 External Source CONFIRM http://support.apple.com/kb/HT3549
http://wiki.rpath.com/Advisories:rPSA-2009-0035 External Source CONFIRM http://wiki.rpath.com/Advisories:rPSA-2009-0035
http://www.debian.org/security/2008/dsa-1647 External Source DEBIAN DSA-1647
http://www.mandriva.com/security/advisories?name=MDVSA-2009:021 External Source MANDRIVA MDVSA-2009:021
http://www.mandriva.com/security/advisories?name=MDVSA-2009:022 External Source MANDRIVA MDVSA-2009:022
http://www.mandriva.com/security/advisories?name=MDVSA-2009:023 External Source MANDRIVA MDVSA-2009:023
http://www.mandriva.com/security/advisories?name=MDVSA-2009:024 External Source MANDRIVA MDVSA-2009:024
http://www.openwall.com/lists/oss-security/2008/08/08/2 External Source MLIST [oss-security] 20080808 CVE request: php-5.2.6 overflow issues
http://www.openwall.com/lists/oss-security/2008/08/08/3 External Source MLIST [oss-security] 20080808 Re: CVE request: php-5.2.6 overflow issues
http://www.openwall.com/lists/oss-security/2008/08/08/4 External Source MLIST [oss-security] 20080808 Re: CVE request: php-5.2.6 overflow issues
http://www.openwall.com/lists/oss-security/2008/08/13/8 External Source MLIST [oss-security] 20080813 Re: CVE request: php-5.2.6 overflow issues
http://www.php.net/archive/2008.php#id2008-08-07-1 Patch External Source CONFIRM http://www.php.net/archive/2008.php#id2008-08-07-1
http://www.securityfocus.com/archive/1/archive/1/501376/100/0/threaded External Source BUGTRAQ 20090302 rPSA-2009-0035-1 php php-cgi php-imap php-mcrypt php-mysql php-mysqli php-pgsql php-soap php-xsl php5 php5-cgi php5-imap php5-mcrypt php5-mysql php5-mysqli php5-pear php5-pgsql php5-soap php5-xsl
http://www.securitytracker.com/id?1020995 External Source SECTRACK 1020995
http://www.us-cert.gov/cas/techalerts/TA09-133A.html US Government Resource External Source CERT TA09-133A
http://www.vupen.com/english/advisories/2008/2336 External Source VUPEN ADV-2008-2336
http://www.vupen.com/english/advisories/2009/1297 External Source VUPEN ADV-2009-1297
https://exchange.xforce.ibmcloud.com/vulnerabilities/44405 External Source XF php-memnstr-bo(44405)

Technical Details

Vulnerability Type (View All)

Change History 2 change records found - show changes