Vulnerability Note VU#998369

Apple Web Kit-based browsers may allow remote access to local filesystem contents

Original Release date: 06 Jul 2005 | Last revised: 06 Jul 2005

Overview

Web browsers based on AppleWebKit may allow remote web sites to reference content on the local filesystem. This may allow an attacker to execute script within the security context of the local machine.

Description

Web browsers that allow remote web sites to reference content that resides on the local filesystem may be vulnerable to cross-domain security violations. In a typical attack scenario, an attacker must first place content in a known or predictable location on a computer. If a web browser allows a remote web site to reference that content, this may allow attacker-supplied script to run within the security context of the local machine.

Web browsers based on AppleWebKit, such as Safari, fail to restrict web sites from accessing content on the local filesystem. OmniWeb, which is based on Apple WebCore, also contains the same vulnerability. Current proof-of-concept exploit code uses the XMLHttpRequest object to read files from the local filesystem.

Impact

A remote, unauthenticated attacker may be able to execute script within the security context of the local machine. Script that executes within this context may be able to perform privileged actions, such as reading files from the local filesystem. These actions would not be possible by using script that executes within the security context of the remote web site.

Solution

Upgrade or patch
Please see the Systems Affected section of this document for update availability.


Workarounds

Users who are unable to upgrade to a fixed version of the software are encouraged to disable JavaScript in their browsers.

Systems Affected (Learn More)

VendorStatusDate NotifiedDate Updated
Apple Computer Inc.Affected22 Feb 200521 Apr 2005
OmniGroupAffected03 Mar 200506 Jul 2005
KDE Desktop Environment ProjectNot Affected22 Feb 200511 May 2005
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

References

Credit

Thanks to David Remahl for reporting this vulnerability.

This document was written by Will Dormann.

Other Information

  • CVE IDs: CAN-2005-0976
  • Date Public: 16 Apr 2005
  • Date First Published: 06 Jul 2005
  • Date Last Updated: 06 Jul 2005
  • Severity Metric: 4.78
  • Document Revision: 13

Feedback

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