Apple Safari HTML comment cross-site scripting
| safari-html-comment-xss (31846) |
Description:
Apple Safari could allow a remote attacker to bypass cross-site scripting protection and perform cross-site scripting attacks on vulnerable Web applications. Safari fails to properly parse HTML tags within HTML comments. A remote attacker could exploit this vulnerability to execute malicious script within a victim's Web browser within the security context of the targeted site by embedding malicious script within HTML tags in a specially-crafted URL. An attacker could use this vulnerability to steal the victim's cookie-based authentication credentials.
Platforms Affected:
- Apple, Safari 2.0.4
- Apple, WebCore
- Gentoo, Linux
Remedy:
For Mac OS:
Apply Apple Security Update 2007-007, available from the Apple Web site. See References.
For other distributions:
Contact your vendor for upgrade or patch information.
Consequences:
Gain Access
References:
- Apple Security Update 2007-007 , About Security Update 2007-007 at http://docs.info.apple.com/article.html?artnum=306172.
- Apple Web site, Apple - Support - Downloads at http://www.apple.com/support/downloads/.
- Apple Web site, Apple security updates at http://docs.info.apple.com/article.html?artnum=61798.
- BugTraq Mailing List, Tue Jan 23 2007 - 01:44:13 CST , Safari Improperly Parses HTML Documents & BlogSpot XSS vulnerability at http://archives.neohapsis.com/archives/bugtraq/2007-01/0503.html.
- BugTraq Mailing List, Tue Jan 23 2007 - 23:06:34 CST , Re: Safari Improperly Parses HTML Documents & BlogSpot XSS vulnerability at http://archives.neohapsis.com/archives/bugtraq/2007-01/0540.html.
- BID-25159: Apple Mac OS X 2007-007 Multiple Security Vulnerabilities
- CVE-2007-0478: WebCore on Apple Mac OS X 10.3.9 and 10.4.10, as used in Safari, does not properly parse HTML comments in TITLE elements, which allows remote attackers to conduct cross-site scripting (XSS) attacks and bypass some XSS protection schemes by embedding certain HTML tags within an HTML comment.
- GLSA-200703-10: KHTML: Cross-site scripting (XSS) vulnerability
- SA23893: Safari HTML Parsing Weakness and URL Information Disclosure
- SA26235: Mac OS X Security Update Fixes Multiple Vulnerabilities
- SECTRACK ID: 1018494: Mac OS X WebCore Bugs Permit Cross-Domain Scripting Attacks and Java Settings Bypass
- VUPEN/ADV-2007-2732: Apple Mac OS X Multiple Code Execution and Denial of Service Vulnerabilities
Reported:
Jan 23, 2007
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
