Lucene search

K
openvasCopyright (c) 2010 Greenbone Networks GmbHOPENVAS:800486
HistoryMar 05, 2010 - 12:00 a.m.

Apple Safari 'SRC' Remote Denial Of Service Vulnerability

2010-03-0500:00:00
Copyright (c) 2010 Greenbone Networks GmbH
plugins.openvas.org
9

EPSS

0.002

Percentile

61.8%

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_cfnetwork_src_dos_vuln.nasl 7174 2017-09-18 11:48:08Z asteins $
#
# Apple Safari 'SRC' Remote 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 let the attacker crash the affected browser,
  resulting in a denial of service condition and can cause other attacks.
  Impact Level: Application";
tag_affected = "Apple Safari version 4.0.4(5.31.21.10)";
tag_insight = "The flaw exists due to error in 'cfnetwork.dll' file in CFNetwork when, processing
  'SRC' attribute of a 'IMG' or 'IFRAME' element via a long string.";
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(800486);
  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-03-05 10:09:57 +0100 (Fri, 05 Mar 2010)");
  script_tag(name:"cvss_base", value:"5.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:N/I:N/A:P");
  script_cve_id("CVE-2010-0925");
  script_name("Apple Safari 'SRC' Remote Denial Of Service Vulnerability");
  script_xref(name : "URL" , value : "http://en.securitylab.ru/nvd/391341.php");
  script_xref(name : "URL" , value : "http://nobytes.com/exploits/Safari_4.0.4_background_DoS_pl.txt");

  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);
}

# Check for Apple Safari Version 4.0.4(5.31.21.10)
if(version_is_equal(version:safariVer, test_version:"5.31.21.10"))
{
  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 5.31.21.10
      if(version_is_equal(version:exeVer, test_version:"5.31.21.10"))
      {
        dllVer = find_version(filepath: asFile -"Safari.exe" + "cfnetwork.dll");
        if(isnull(dllVer))
        {
          dllVer = find_version(filepath:asFile - "\Safari\Safari.exe" +
                   "\Common Files\Apple\Apple Application Support\cfnetwork.dll");
        }

        if(!isnull(dllVer))
        {
          # Check for cfnetwork.dll Version 1.450.5.0
          if(version_is_equal(version:dllVer, test_version:"1.450.5.0")){
            security_message(0);
          }
        }
      }
    }
  }
}

EPSS

0.002

Percentile

61.8%

Related for OPENVAS:800486