Apple Safari Multiple Vulnerabilities - Oct 2011 (Windows)

2012-05-24T00:00:00
ID OPENVAS:1361412562310903029
Type openvas
Reporter Copyright (C) 2012 SecPod
Modified 2018-10-12T00:00:00

Description

The host is installed with Apple Safari web browser and is prone to multiple vulnerabilities.

                                        
                                            ###############################################################################
# OpenVAS Vulnerability Test
# $Id: secpod_apple_safari_mult_vuln_win_oct11.nasl 11857 2018-10-12 08:25:16Z cfischer $
#
# Apple Safari Multiple Vulnerabilities - Oct 2011 (Windows)
#
# Authors:
# Madhuri D <dmadhuri@secpod.com>
#
# Copyright:
# Copyright (c) 2012 SecPod, http://www.secpod.com
#
# 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.
###############################################################################

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.903029");
  script_version("$Revision: 11857 $");
  script_cve_id("CVE-2011-3229", "CVE-2011-1440", "CVE-2011-2338", "CVE-2011-2339",
                "CVE-2011-2341", "CVE-2011-2351", "CVE-2011-2352", "CVE-2011-2354",
                "CVE-2011-2356", "CVE-2011-2359", "CVE-2011-2788", "CVE-2011-2790",
                "CVE-2011-2792", "CVE-2011-2797", "CVE-2011-2799", "CVE-2011-2809",
                "CVE-2011-2811", "CVE-2011-2813", "CVE-2011-2814", "CVE-2011-2815",
                "CVE-2011-2816", "CVE-2011-2817", "CVE-2011-2818", "CVE-2011-2820",
                "CVE-2011-2823", "CVE-2011-2827", "CVE-2011-2831", "CVE-2011-3232",
                "CVE-2011-3233", "CVE-2011-3234", "CVE-2011-3235", "CVE-2011-3236",
                "CVE-2011-3237", "CVE-2011-3238", "CVE-2011-3239", "CVE-2011-3241",
                "CVE-2011-2800", "CVE-2011-2805", "CVE-2011-2819", "CVE-2011-3243");
  script_bugtraq_id(50163, 47604, 50066, 51032, 48479, 48960, 49279, 49850, 49658,
                    50088);
  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_tag(name:"last_modification", value:"$Date: 2018-10-12 10:25:16 +0200 (Fri, 12 Oct 2018) $");
  script_tag(name:"creation_date", value:"2012-05-24 18:22:12 +0530 (Thu, 24 May 2012)");
  script_name("Apple Safari Multiple Vulnerabilities - Oct 2011 (Windows)");
  script_xref(name:"URL", value:"http://support.apple.com/kb/HT5000");
  script_xref(name:"URL", value:"http://lists.apple.com/archives/Security-announce//2011/Oct/msg00004.html");

  script_tag(name:"qod_type", value:"registry");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2012 SecPod");
  script_family("General");
  script_dependencies("secpod_apple_safari_detect_win_900003.nasl");
  script_mandatory_keys("AppleSafari/Version");
  script_tag(name:"impact", value:"Successful exploitation could allow attackers to opening a maliciously
  crafted files, which leads to an unexpected application termination or
  arbitrary code execution.");
  script_tag(name:"affected", value:"Apple Safari versions prior to 5.1.1 on Windows");
  script_tag(name:"insight", value:"The flaws are due to

  - A directory traversal issue existed in the handling of 'safari-extension://'
    URLs.

  - A policy issue existed in the handling of 'file://' URLs.

  - An uninitialized memory access issue existed in the handling of SSL
    certificates.

  - Multiple memory corruption issues existed in WebKit.

  - A cross origin issue existed in the handling of the beforeload event,
    'window.open' method, 'document.documentURI' property and inactive DOM
    windows in webkit.

  - A logic issue existed in the handling of cookies in Private Browsing mode.");
  script_tag(name:"solution", value:"Upgrade to Apple Safari version 5.1.1 or later.");
  script_tag(name:"summary", value:"The host is installed with Apple Safari web browser and is prone
  to multiple vulnerabilities.");
  script_tag(name:"solution_type", value:"VendorFix");
  script_xref(name:"URL", value:"http://www.apple.com/safari/download/");
  exit(0);
}


include("version_func.inc");

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

if(version_is_less(version:safVer, test_version:"5.34.51.22")){
  security_message( port: 0, data: "The target host was found to be vulnerable" );
  exit(0);
}

exit(99);