Apple Safari Web Browser Null Character Cookie Stealing Vulnerability

BID:9065

Info

Apple Safari Web Browser Null Character Cookie Stealing Vulnerability

Bugtraq ID: 9065
Class: Input Validation Error
CVE: CVE-2003-0975
Remote: Yes
Local: No
Published: Nov 18 2003 12:00AM
Updated: Jul 12 2009 12:56AM
Credit: This vulnerability was discovered by Austin Gilbert <[email protected]>.
Vulnerable: Apple Safari 1.1
Apple Safari 1.0
+ Apple Mac OS X 10.2.8
+ Apple Mac OS X 10.2.8
+ Apple Mac OS X 10.2.7
+ Apple Mac OS X 10.2.7
+ Apple Mac OS X 10.2.6
+ Apple Mac OS X 10.2.6
+ Apple Mac OS X 10.2.5
+ Apple Mac OS X 10.2.5
+ Apple Mac OS X 10.2.4
+ Apple Mac OS X 10.2.4
+ Apple Mac OS X 10.2.3
+ Apple Mac OS X 10.2.3
+ Apple Mac OS X 10.2.2
+ Apple Mac OS X 10.2.2
+ Apple Mac OS X 10.2.1
+ Apple Mac OS X 10.2.1
+ Apple Mac OS X 10.2
+ Apple Mac OS X 10.2
+ Apple Mac OS X Server 10.2.8
+ Apple Mac OS X Server 10.2.7
+ Apple Mac OS X Server 10.2.7
+ Apple Mac OS X Server 10.2.6
+ Apple Mac OS X Server 10.2.6
+ Apple Mac OS X Server 10.2.5
+ Apple Mac OS X Server 10.2.5
+ Apple Mac OS X Server 10.2.4
+ Apple Mac OS X Server 10.2.4
+ Apple Mac OS X Server 10.2.3
+ Apple Mac OS X Server 10.2.3
+ Apple Mac OS X Server 10.2.2
+ Apple Mac OS X Server 10.2.2
+ Apple Mac OS X Server 10.2.1
+ Apple Mac OS X Server 10.2.1
+ Apple Mac OS X Server 10.2
+ Apple Mac OS X Server 10.2
Apple Mac OS X Server 10.3.1
Apple Mac OS X Server 10.2.8
Apple Mac OS X 10.3.1
Apple Mac OS X 10.2.8
Not Vulnerable:

Discussion

Apple Safari Web Browser Null Character Cookie Stealing Vulnerability

An issue has been discovered in Apple Safari, which may allow an attacker to steal cookie-based authentication credentials from a user of a vulnerable web browser. The problem is in the handling of NULL (%00) characters in URLs.

This issue may only be exploited to steal cookies set for a domain, as opposed to cookies set for a specific host in that domain. Cookies set with the secure flag can be stolen if the attacker uses SSL.

Exploit / POC

Apple Safari Web Browser Null Character Cookie Stealing Vulnerability

A demonstration of exploit was made available when the issues described in BID 3925 were initially released. This demo is said to still work on affected Apple Safari releases and can be found by referencing the following link:

http://alive.znep.com/~marcs/security/mozillacookie/cookies-redirect.cgi

Solution / Fix

Apple Safari Web Browser Null Character Cookie Stealing Vulnerability

Solution:
Apple has released an advisory (APPLE-SA-2003-12-05) and fixes to address this issue. Please see referenced advisory for further details. Fixes are linked below.

Apple has released a Security Update to address this vulnerability:


Apple Safari 1.0

Apple Safari 1.1

Apple Mac OS X 10.2.8

Apple Mac OS X Server 10.2.8

Apple Mac OS X 10.3.1

Apple Mac OS X Server 10.3.1

References

Apple Safari Web Browser Null Character Cookie Stealing Vulnerability

References:

© CVE.report 2026

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. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report