The host is installed with Apple Safari web browser and is prone
to multiple vulnerabilities.
###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_apple_safari_webkit_mult_vuln_mar11.nasl 7044 2017-09-01 11:50:59Z teissa $
#
# Apple Safari Webkit Multiple Vulnerabilities - March 2011
#
# Authors:
# Sooraj KS <[email protected]>
#
# Copyright:
# Copyright (c) 2011 Greenbone Networks GmbH, http://www.greenbone.net
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2
# (or any later version), as published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
###############################################################################
tag_impact = "Successful exploitation will allow attacker to disclose potentially
sensitive information, conduct cross-site scripting and spoofing attacks,
and compromise a user's system.
Impact Level: Application";
tag_affected = "Apple Safari versions prior to 5.0.4";
tag_insight = "- An error in the WebKit component when handling redirects during HTTP Basic
Authentication can be exploited to disclose the credentials to another site.
- An error in the WebKit component when handling the Attr.style accessor can
be exploited to inject an arbitrary Cascading Style Sheet (CSS) into another
document.
- A type checking error in the WebKit component when handling cached resources
can be exploited to poison the cache and prevent certain resources from
being requested.
- An error in the WebKit component when handling HTML5 drag and drop
operations across different origins can be exploited to disclose certain
content to another site.
- An error in the tracking of window origins within the WebKit component can
be exploited to disclose the content of files to a remote server.
- Input passed to the 'window.console._inspectorCommandLineAPI' property
while browsing using the Web Inspector is not properly sanitised before
being returned to the user.";
tag_solution = "Upgrade to Apple Safari version 5.0.4 or later,
For updates refer to http://www.apple.com/support/downloads/";
tag_summary = "The host is installed with Apple Safari web browser and is prone
to multiple vulnerabilities.";
if(description)
{
script_id(801867);
script_version("$Revision: 7044 $");
script_tag(name:"last_modification", value:"$Date: 2017-09-01 13:50:59 +0200 (Fri, 01 Sep 2017) $");
script_tag(name:"creation_date", value:"2011-03-22 08:43:18 +0100 (Tue, 22 Mar 2011)");
script_bugtraq_id(46808,46811,46814,46816);
script_cve_id("CVE-2011-0160", "CVE-2011-0161", "CVE-2011-0163",
"CVE-2011-0166", "CVE-2011-0167", "CVE-2011-0169");
script_tag(name:"cvss_base", value:"5.8");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:P/I:P/A:N");
script_name("Apple Safari Webkit Multiple Vulnerabilities - March 2011");
script_xref(name : "URL" , value : "http://support.apple.com/kb/HT4566");
script_xref(name : "URL" , value : "http://secunia.com/advisories/43696");
script_xref(name : "URL" , value : "http://www.vupen.com/english/advisories/2011/0641");
script_xref(name : "URL" , value : "http://lists.apple.com/archives/security-announce/2011/mar/msg00004.html");
script_tag(name:"qod_type", value:"registry");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (c) 2011 Greenbone Networks GmbH");
script_family("General");
script_dependencies("secpod_apple_safari_detect_win_900003.nasl");
script_require_keys("AppleSafari/Version");
script_tag(name : "impact" , value : tag_impact);
script_tag(name : "affected" , value : tag_affected);
script_tag(name : "insight" , value : tag_insight);
script_tag(name : "solution" , value : tag_solution);
script_tag(name : "summary" , value : tag_summary);
exit(0);
}
include("version_func.inc");
safVer = get_kb_item("AppleSafari/Version");
if(!safVer){
exit(0);
}
## Grep for Apple Safari Versions prior to 5.0.4 (5.33.20.27)
if(version_is_less(version:safVer, test_version:"5.33.20.27")){
security_message(0);
}