search menu icon-carat-right cmu-wordmark

CERT Coordination Center

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

Vulnerability Note VU#845708

Original Release Date: 2007-06-22 | Last Revised: 2008-09-08


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.

Vendor Information


Apple Computer, Inc. Affected

Updated:  June 22, 2007



Vendor Statement

We have not received a statement from the vendor.

Vendor Information

The vendor has not provided us with any further information regarding this vulnerability.


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

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

CVSS Metrics

Group Score Vector



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
Severity Metric: 0.57
Date Public: 2007-06-21
Date First Published: 2007-06-22
Date Last Updated: 2008-09-08 18:26 UTC
Document Revision: 10

Sponsored by CISA.