Lucene search

K
openvasCopyright (c) 2010 Greenbone Networks GmbHOPENVAS:801332
HistoryMay 13, 2010 - 12:00 a.m.

Apple Safari 'webkit' Denial Of Service Vulnerability

2010-05-1300:00:00
Copyright (c) 2010 Greenbone Networks GmbH
plugins.openvas.org
7

0.17 Low

EPSS

Percentile

96.1%

This host is installed with Apple Safari Web Browser and is
prone to to Denial of Service vulnerabilities.

###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_apple_safari_webkit_dos_vuln.nasl 7174 2017-09-18 11:48:08Z asteins $
#
# Apple Safari 'webkit' Denial Of Service Vulnerability
#
# Authors:
# Antu Sanadi <[email protected]>
#
# Copyright:
# Copyright (c) 2010 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 crash the
affected browser, resulting in a denial of service condition.

Impact Level: Application";

tag_affected = "Apple Safari version (Safari.exe) 4.531.9.1";

tag_insight = "The flaw exists due to error in 'WebKit.dll' file in webkit
when processing 'JavaScript' that writes sequences in an infinite loop.";

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 = "This host is installed with Apple Safari Web Browser and is
prone to to Denial of Service vulnerabilities.";

if(description)
{
  script_id(801332);
  script_version("$Revision: 7174 $");
  script_tag(name:"last_modification", value:"$Date: 2017-09-18 13:48:08 +0200 (Mon, 18 Sep 2017) $");
  script_tag(name:"creation_date", value:"2010-05-13 09:36:55 +0200 (Thu, 13 May 2010)");
  script_cve_id("CVE-2010-1728");
  script_tag(name:"cvss_base", value:"9.3");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:C/I:C/A:C");
  script_name("Apple Safari 'webkit' Denial Of Service Vulnerability");
  script_xref(name : "URL" , value : "http://en.securitylab.ru/nvd/393589.php");
  script_xref(name : "URL" , value : "https://launchpad.net/bugs/cve/2010-1729");
  script_xref(name : "URL" , value : "http://security-tracker.debian.org/tracker/CVE-2010-1729");

  script_tag(name:"qod_type", value:"executable_version");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (c) 2010 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);
  script_tag(name:"solution_type", value:"WillNotFix");
  exit(0);
}


include("smb_nt.inc");
include("version_func.inc");
include("secpod_smb_func.inc");

function find_version(filepath)
{
  share = ereg_replace(pattern:"([A-Z]):.*", replace:"\1$", string:filepath);
  file = ereg_replace(pattern:"[A-Z]:(.*)", replace:"\1", string:filepath);
  dllVer = GetVer(file:file, share:share);
  return dllVer;
}

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

key = "SOFTWARE\Apple Computer, Inc.\Safari";
asFile = registry_get_sz(item:"BrowserExe", key:key);
if(asFile)
{
  exeVer = find_version(filepath:asFile);
  if(!isnull(exeVer))
  {
    # Check for Safari.exe Version less or equal 4.31.9.1
    if(version_is_less_equal(version:exeVer, test_version:"4.31.9.1"))
    {
      dllVer = find_version(filepath:asFile - "\Safari\Safari.exe" +
                   "\Common Files\Apple\Apple Application Support\WebKit.dll");
      if(!isnull(dllVer))
      {
        # Check for WebKit.dll Version less or equal 4.31.9.1
         if(version_is_less_equal(version:dllVer, test_version:"4.31.9.1")){
           security_message(0);
         }
      }
    }
  }
}

0.17 Low

EPSS

Percentile

96.1%