Mac OS X : Safari < 4.0.4

This script is Copyright (C) 2009-2013 Tenable Network Security, Inc.


Synopsis :

The remote host contains a web browser that is affected by several
vulnerabilities.

Description :

The version of Safari installed on the remote Mac OS X host is
earlier than 4.0.4. As such, it is potentially affected by several
issues :

- Multiple use-after-free issues exist in libxml2, the
most serious of which could lead to a program crash.
(CVE-2009-2414, CVE-2009-2416)

- An issue in the handling of navigations initiated via
the 'Open Image in New Tab', 'Open Image in New Window'
or 'Open Link in New Tab' shortcut menu options could
be exploited to load a local HTML file, leading to
disclosure of sensitive information. (CVE-2009-2842)

- An issue involving WebKit's inclusion of custom HTTP
headers specified by a requesting page in preflight
requests in support of Cross-Origin Resource Sharing
can facilitate cross-site request forgery attacks.
(CVE-2009-2816)

- WebKit fails to issue a resource load callback to
determine if a resource should be loaded when it
encounters an HTML 5 Media Element pointing to an
external resource, which could lead to undesired
requests to remote servers. (CVE-2009-2841)

See also :

http://support.apple.com/kb/HT3949
http://lists.apple.com/archives/security-announce/2009/Nov/msg00001.html
http://www.securityfocus.com/advisories/18277

Solution :

Upgrade to Safari 4.0.4 or later.

Risk factor :

High / CVSS Base Score : 9.3
(CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C)
CVSS Temporal Score : 7.7
(CVSS2#E:F/RL:OF/RC:C)
Public Exploit Available : true

Family: MacOS X Local Security Checks

Nessus Plugin ID: 42477 (macosx_Safari4_0_4.nasl)

Bugtraq ID: 36994
36996
36997

CVE ID: CVE-2009-2414
CVE-2009-2416
CVE-2009-2816
CVE-2009-2841
CVE-2009-2842