PHP memnstr() buffer overflow
| php-memnstr-bo (44405) |
Description:
PHP is vulnerable to a an unspecified buffer overflow in the memnstr() function. A remote attacker could exploit this vulnerability using the delimiter argument to the explode function to possibly execute arbitrary code on the system or cause the affected application to crash.
*CVSS:
| Base Score: | 6.8 |
| Access Vector: | Network |
| Access Complexity: | Medium |
| Authentication: | None |
| Confidentiality Impact: | Partial |
| Integrity Impact: | Partial |
| Availability Impact: | Partial |
| Temporal Score: | 5 |
| Exploitability: | Unproven |
| Remediation Level: | Official-Fix |
| Report Confidence: | Confirmed |
Consequences:
Gain Access
Remedy:
For Apple Mac OS:
Apply Apple Security Update 2009-002, available from the Apple Web site. See References.
Upgrade to the latest version of PHP (4.4.9 or later), available from the PHP Web site. See References.
For other distributions:
Apply the appropriate update for your system. See References.
References:
- Apple Web site: About the security content of Security Update 2009-002 / Mac OS X v10.5.7.
- Gentoo Bugzilla Bug 234102: dev-lang/php < 5.2.6-r6: arbitrary code execution, DoS, safe_mode bypass (CVE-2008-{3658,3659,3660}).
- HPSBUX02431 SSRT090085 rev.1: HP-UX Running Apache Web Server Suite, Remote Denial of Service (DoS), Execution of Arbitrary Code.
- PHP 4 ChangeLog: Version 4.4.9.
- PHP News Archive: PHP 4.4.9 released!.
- PHP Web site: PHP 4.4.9.
- ASA-2009-255: HPSBUX02431 SSRT090085 rev.1 - HP-UX Running Apache Web Server SuiteRemote Denial of Service (DoS) Execution of Arbitrary Code
- CVE-2008-3659: 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.
- DSA-1647: php5 -- several vulnerabilities
- GLSA-200811-05: PHP: Multiple vulnerabilities
- MDVSA-2009:021: php
- MDVSA-2009:022: php
- MDVSA-2009:023: php
- MDVSA-2009:024: php4
- SA31409: PHP Multiple Vulnerabilities
- SA35074: Apple Mac OS X Security Update Fixes Multiple Vulnerabilities
- SA35650: HP-UX Apache Web Server Suite Multiple Vulnerabilities
- SECTRACK ID: 1020995: PHP Buffer Overflow in explode() Function May Let Users Bypass Safe Mode Restrictions
- SUSE-SR:2008:018: SUSE Security Summary Report
- SUSE-SR:2008:021: SUSE Security Summary Report
Platforms Affected:
- Apache HTTP Server 2.0.59
- Apache HTTP Server 2.2.8
- Apache Tomcat 5.5.27
- Apple Mac OS X 10.5
- Apple Mac OS X 10.5.1
- Apple Mac OS X 10.5.2
- Apple Mac OS X 10.5.3
- Apple Mac OS X 10.5.4
- Apple Mac OS X 10.5.5
- Apple Mac OS X 10.5.6
- Apple Mac OS X Server 10.5
- Apple Mac OS X Server 10.5.1
- Apple Mac OS X Server 10.5.2
- Apple Mac OS X Server 10.5.3
- Apple Mac OS X Server 10.5.4
- Apple Mac OS X Server 10.5.5
- Apple Mac OS X Server 10.5.6
- Canonical Ubuntu 6.06 LTS
- Canonical Ubuntu 7.10
- Canonical Ubuntu 8.04 LTS
- Canonical Ubuntu 8.10
- Debian Debian Linux 4.0
- Gentoo Linux
- HP HP-UX B.11.11
- HP HP-UX B.11.23
- HP HP-UX B.11.31
- MandrakeSoft Mandrake Linux 2008.0
- MandrakeSoft Mandrake Linux 2008.0 X86_64
- MandrakeSoft Mandrake Linux 2008.1 X86_64
- MandrakeSoft Mandrake Linux 2008.1
- MandrakeSoft Mandrake Linux Corporate Server 3.0 X86_64
- MandrakeSoft Mandrake Linux Corporate Server 3.0
- MandrakeSoft Mandrake Linux Corporate Server 4.0
- MandrakeSoft Mandrake Linux Corporate Server 4.0 X86_64
- MandrakeSoft Mandrake Multi Network Firewall 2.0
- Mandriva Linux 2009.0
- Mandriva Linux 2009.0 X86_64
- PHP PHP 4.4.0
- PHP PHP 4.4.1
- PHP PHP 4.4.2
- PHP PHP 4.4.3
- PHP PHP 4.4.4
- PHP PHP 4.4.5
- PHP PHP 4.4.6
- PHP PHP 4.4.7
- PHP PHP 4.4.8
- PHP PHP 5.2.0
- PHP PHP 5.2.1
- PHP PHP 5.2.2
- PHP PHP 5.2.3
- PHP PHP 5.2.4
- PHP PHP 5.2.5
- PHP PHP 5.2.6
- Turbolinux Appliance Server 3.0 x64
- Turbolinux Appliance Server 3.0
- Turbolinux Client 2008
- Turbolinux Turbolinux 10 Server
- Turbolinux Turbolinux 10 Server x64 Ed
- Turbolinux Turbolinux 11 Server
- Turbolinux Turbolinux 11 Server x64 Ed
- Turbolinux Turbolinux FUJI
- Turbolinux Turbolinux Multimedia
- Turbolinux Turbolinux Personal
- Turbolinux Turbolinux Appliance Server 1.0 Hosting Ed
- Turbolinux Turbolinux Appliance Server 1.0 Workgroup Ed
- Turbolinux Turbolinux Appliance Server 2.0
Reported:
Aug 07, 2008
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email xforce@iss.net
* According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall IBM be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
