Vulnerability Note VU#845708

Apple WebCore XMLHttpRequest fails to properly serialize headers into an HTTP request

Original Release date: 22 Jun 2007 | Last revised: 08 Sep 2008


Apple WebCore fails to properly serialize headers into an HTTP request, which can cause a cross-domain security violation.


Apple WebCore is one of the components of the WebKit web browser engine that is used by Safari, Dashboard, Mail, and other applications. WebCore provides support for the XMLHttpRequest object, which allows dynamic HTML and XML functionality. XMLHttpRequest in WebCore fails to properly serialize headers when creating an HTTP request, which can lead to a cross-domain violation.


By convincing a user to view a specially crafted HTML document (e.g., a web page, an HTML email message, or an email attachment), an attacker may be able to execute script or obtain full access to content in a different domain. The impact is similar to that of a cross-site scripting vulnerability. This includes the ability to spoof or modify web content, access website information such as cookies, or retrieve data from an encrypted HTTPS connection. For a more detailed description of the impact of cross-site scripting vulnerabilities, please see CERT Advisory CA-2000-02.


Apply an update

This issue is addressed by Apple Security Update 2007-006 .

Disable JavaScript

This vulnerability can be mitigated in Safari by disabling JavaScript. Guidelines for setting preferences in Safari can be found in the "Securing Your Web Browser" document. Note that other applications that use Apple WebCore may still be at risk after making this change.

Systems Affected (Learn More)

VendorStatusDate NotifiedDate Updated
Apple Computer, Inc.Affected-22 Jun 2007
If you are a vendor and your product is affected, let us know.

CVSS Metrics (Learn More)

Group Score Vector
Base N/A N/A
Temporal N/A N/A
Environmental N/A N/A



This vulnerability was reported by Apple, who in turn credit Richard Moore of Westpoint Ltd.

This document was written by Will Dormann.

Other Information

  • CVE IDs: CVE-2007-2401
  • Date Public: 21 Jun 2007
  • Date First Published: 22 Jun 2007
  • Date Last Updated: 08 Sep 2008
  • Severity Metric: 0.57
  • Document Revision: 10


If you have feedback, comments, or additional information about this vulnerability, please send us email.