Lucene search

K
openvasCopyright (C) 2011 Greenbone Networks GmbHOPENVAS:802238
HistoryAug 18, 2011 - 12:00 a.m.

Apple Safari Secure Cookie Security Bypass Vulnerability (Mac OS X)

2011-08-1800:00:00
Copyright (C) 2011 Greenbone Networks GmbH
plugins.openvas.org
7

0.002 Low

EPSS

Percentile

53.7%

The host is installed with Apple Safari web browser and is prone
to security bypass vulnerability.

###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_apple_safari_cookie_sec_bypass_vuln_macosx.nasl 7015 2017-08-28 11:51:24Z teissa $
#
# Apple Safari Secure Cookie Security Bypass Vulnerability (Mac OS X)
#
# 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 attackers to overwrite or
delete arbitrary cookies by sending a specially crafted HTTP response through
a man-in-the-middle attack.

Impact Level: Application";

tag_affected = "Apple Safari versions 5.1 and prior.";

tag_insight = "The flaw is due to lack of the HTTP Strict Transport Security
(HSTS) includeSubDomains feature, which allows man-in-the-middle attackers to
overwrite or delete arbitrary cookies via a Set-Cookie header in an HTTP
response.";

tag_solution = "No solution or patch was made available for at least one year
since disclosure of this vulnerability. Likely none will be provided anymore.
General solution options are to upgrade to a newer release, disable respective
features, remove the product or replace the product by another one.";

tag_summary = "The host is installed with Apple Safari web browser and is prone
to security bypass vulnerability.";

if(description)
{
  script_id(802238);
  script_version("$Revision: 7015 $");
  script_tag(name:"last_modification", value:"$Date: 2017-08-28 13:51:24 +0200 (Mon, 28 Aug 2017) $");
  script_tag(name:"creation_date", value:"2011-08-18 14:57:45 +0200 (Thu, 18 Aug 2011)");
  script_cve_id("CVE-2008-7296");
  script_bugtraq_id(49136);
  script_tag(name:"cvss_base", value:"5.8");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:N/I:P/A:P");
  script_name("Apple Safari Secure Cookie Security Bypass Vulnerability (Mac OS X)");
  script_xref(name : "URL" , value : "http://michael-coates.blogspot.com/2010/01/cookie-forcing-trust-your-cookies-no.html");
  script_xref(name : "URL" , value : "http://scarybeastsecurity.blogspot.com/2011/02/some-less-obvious-benefits-of-hsts.html");

  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2011 Greenbone Networks GmbH");
  script_family("General");
  script_dependencies("macosx_safari_detect.nasl");
  script_require_keys("AppleSafari/MacOSX/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);
  script_tag(name:"qod_type", value:"package");
  script_tag(name:"solution_type", value:"WillNotFix");
  exit(0);
}


include("version_func.inc");

safVer = get_kb_item("AppleSafari/MacOSX/Version");
if(!safVer){
  exit(0);
}

## Grep for Apple Safari Versions 5.1 and prior.
if(version_is_less_equal(version:safVer, test_version:"5.1")){
  security_message(0);
}

0.002 Low

EPSS

Percentile

53.7%

Related for OPENVAS:802238