Apple Safari WebKit pcre_compile.cpp buffer overflow
| apple-safari-webkit-pcrecompile-bo (41859) |
Description:
Apple Safari WebKit is vulnerable to a heap-based buffer overflow, caused by improper bounds checking by pcre_compile.cpp. By persuading a victim to visit a Web site containing JavaScript regular expressions with large, nested repetition counts, an attacker could overflow a buffer and execute arbitrary code on the system with elevated privileges or cause the 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:
Refer to APPLE-SA-2008-04-16 for patch, upgrade or suggested workaround information. See References.
For other distributions:
Apply the appropriate update for your system. See References.
References:
- Apple Web site: About the security content of iPhone v2.0 and iPod touch v2.0.
- APPLE-SA-2008-04-16: APPLE-SA-2008-04-16 Safari 3.1.1.
- ZDI-08-022: Apple Safari WebKit PCRE Handling Integer Overflow Vulnerability.
- BID-28815: Apple Safari WebKit JavaScript Regular Expression Repetition Counts Buffer Overflow Vulnerability
- BID-30186: Apple iPhone and iPod Touch Prior to Version 2.0 Multiple Remote Vulnerabilities
- CVE-2008-1026: Integer overflow in the PCRE regular expression compiler (JavaScriptCore/pcre/pcre_compile.cpp) in Apple WebKit, as used in Safari before 3.1.1, allows remote attackers to execute arbitrary code via a regular expression with large, nested repetition counts, which triggers a heap-based buffer overflow.
- SA29846: Safari Multiple Vulnerabilities
- SA31074: Apple iPhone / iPod touch Multiple Vulnerabilities
- SECTRACK ID: 1019870: Safari WebKit Bug in Processing JavaScript Regular Expressions Lets Remote Users Execute Arbitrary Code
- VUPEN/ADV-2008-1250: Apple Safari Code Execution and Cross Site Scripting Vulnerabilities
- VUPEN/ADV-2008-2094: Apple iPhone and iPod touch Multiple Code Execution Vulnerabilities
Platforms Affected:
- Apple iPhone 1.0
- Apple iPhone 1.1.1
- Apple iPhone 1.1.2
- Apple iPhone 1.1.3
- Apple iPhone 1.1.4
- Apple iPod touch 1.1
- Apple iPod touch 1.1.1
- Apple iPod touch 1.1.2
- Apple iPod touch 1.1.3
- Apple iPod touch 1.1.4
- Apple Safari 1.0
- Apple Safari 1.1
- Apple Safari 1.2
- Apple Safari 1.2.1
- Apple Safari 1.2.2
- Apple Safari 1.2.3
- Apple Safari 1.3
- Apple Safari 1.3.1
- Apple Safari 2.0.1
- Apple Safari 2.0.2
- Apple Safari 2.0.3
- Apple Safari 2.0.4
- Apple Safari 3 Beta
- Apple Safari 3
- Apple Safari 3.0.1 Beta
- Apple Safari 3.0.2 Beta
- Apple Safari 3.0.3
- Apple Safari 3.0.4 Beta
- Apple Safari 3.1
- Apple Safari 3.1 Beta
- Apple Safari Beta2
Reported:
Apr 16, 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.
