Secunia Logo
Netsikker nu! 2008
 
Safari HTML Parsing Weakness and URL Information Disclosure
Secunia Advisory: SA23893
Release Date: 2007-01-26
Last Update: 2007-09-26
Popularity: 7,737 views

Critical:
Less critical
Impact: Cross Site Scripting
Exposure of sensitive information
Where: From remote
Solution Status: Vendor Patch

Software:Safari 2.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2007-0478
CVE-2007-2843
CVE-2007-2409


Description:
A weakness and a vulnerability have been discovered in Safari, which can be exploited by malicious people to potentially conduct cross-site scripting attacks or to disclose sensitive information.

1) An error exists in the parsing of comments within certain tags of an HTML document. Arbitrary HTML and script code in a comment tag is executed in a user's browser session when preceded by the corresponding closing tag (e.g. the title tag).

Successful exploitation is possible on web sites that allow users to insert unsanitised HTML and script code within a comment into such a tag.

2) Errors exist in the handling of new browser windows. This can be exploited via a malicious web page to access and disclose the location or the path and query parameters of an opened browser window via Javascript when a user follows a specially crafted link.

The weakness and vulnerability are confirmed in Safari 2.0.4. Other versions may also be affected.

Solution:
Apply Security Update 2007-007.
http://docs.info.apple.com/article.html?artnum=306172

Provided and/or discovered by:
1) Jose Avila III
2) Independently discovered by Secunia Research and Gareth Heyes.

Changelog:
2007-01-30: Added CVE reference.
2007-05-18: Added vulnerability #2. Updated "Criticality".
2007-06-01: Added CVE reference.
2007-07-06: Updated vulnerability #2 with information provided by Gareth Heyes.
2007-08-01: Added CVE reference. Updated "Solution" and credits section. Added link to "Original Advisory" section.
2007-09-26: Updated link in "Original Advisory" section.

Original Advisory:
2) http://www.thespanner.co.uk/2007/05/18/safari-needs-fixing/
http://www.thespanner.co.uk/2007/07/05/safari-leaks-google-queries/

Secunia Research:
http://secunia.com/secunia_research/2006-66/


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. Joomla OwnBiblio Component "catid" SQL Injection // 39 views
2. My PHP Indexer "d" File Disclosure Vulnerability // 39 views
3. Joomla Mad4Joomla Mailforms Component "jid" SQL Injection // 38 views
4. MunzurSoft Wep Portal W3 "kat" SQL Injection Vulnerability // 36 views
5. phpBB "url" bbcode Script Insertion Vulnerability // 35 views
6. WinFTP "PASV" Denial of Service Vulnerability // 35 views
7. ScriptsEz Mini Hosting Panel "dir" File Disclosure // 34 views
8. Debian update for mon // 34 views
9. chm2pdf Insecure Temporary Directories // 32 views
10. Joomla Ignite Gallery Component "gallery" SQL Injection // 31 views