Lucene search

K
openvasCopyright (C) 2016 Greenbone Networks GmbHOPENVAS:1361412562310810220
HistoryNov 17, 2016 - 12:00 a.m.

Apple Mac OS X Multiple Vulnerabilities-02 November-2016

2016-11-1700:00:00
Copyright (C) 2016 Greenbone Networks GmbH
plugins.openvas.org
13

0.064 Low

EPSS

Percentile

92.9%

This host is running Apple Mac OS X and
is prone to multiple vulnerabilities.

###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_apple_macosx_mult_vuln02_nov16.nasl 14304 2019-03-19 09:10:40Z cfischer $
#
# Apple Mac OS X Multiple Vulnerabilities-02 November-2016
#
# Authors:
# Rinu Kuriakose <[email protected]>
#
# Copyright:
# Copyright (C) 2016 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.
###############################################################################

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.810220");
  script_version("$Revision: 14304 $");
  script_cve_id("CVE-2014-1314", "CVE-2014-1315", "CVE-2014-1316", "CVE-2014-1318",
                "CVE-2014-1319", "CVE-2014-1321", "CVE-2014-1322", "CVE-2014-1296",
                "CVE-2014-1320", "CVE-2013-6393", "CVE-2013-4164", "CVE-2014-1295");
  script_bugtraq_id(63873, 67030, 67029, 67029, 67028, 67023, 67024, 67027, 65258, 63873, 67025);
  script_tag(name:"cvss_base", value:"10.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:C/I:C/A:C");
  script_tag(name:"last_modification", value:"$Date: 2019-03-19 10:10:40 +0100 (Tue, 19 Mar 2019) $");
  script_tag(name:"creation_date", value:"2016-11-17 22:43:28 -0800 (Thu, 17 Nov 2016)");
  script_name("Apple Mac OS X Multiple Vulnerabilities-02 November-2016");

  script_tag(name:"summary", value:"This host is running Apple Mac OS X and
  is prone to multiple vulnerabilities.");

  script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");

  script_tag(name:"insight", value:"Multiple flaws are due to,

  - The windowServer does not prevent session creation by a sandboxed
    application.

  - A format string error in CoreServicesUIAgent.

  - The Intel Graphics Driver does not properly validate a certain pointer.

  - A buffer overflow error in ImageIO.

  - An improper implementation of power management.

  - The kernel places a kernel pointer into an XNU object data structure
    accessible from user space.

  - An error in Heimdal Kerberos.

  - An error in CFNetwork HTTPProtocol.

  - An error in IOKit Kernel.

  - An integer overflow issue existed in LibYAML's handling of YAML tags.

  - A heap-based buffer overflow issue error in Ruby.

  - An error in secure transport regarding renegotiation.");

  script_tag(name:"impact", value:"Successful exploitation will allow attacker
  to execute arbitrary code or cause a denial of service (memory corruption), to
  gain sensitive information and to bypass certain protection mechanism and
  have other impacts.");

  script_tag(name:"affected", value:"Apple Mac OS X versions 10.9.x through
  10.9.2");

  script_tag(name:"solution", value:"Updates are available.");

  script_tag(name:"solution_type", value:"VendorFix");

  script_tag(name:"qod_type", value:"package");

  script_xref(name:"URL", value:"https://support.apple.com/en-us/HT202966");

  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2016 Greenbone Networks GmbH");
  script_family("Mac OS X Local Security Checks");
  script_dependencies("gather-package-list.nasl");
  script_mandatory_keys("ssh/login/osx_name", "ssh/login/osx_version", re:"ssh/login/osx_version=^10\.9.");

  exit(0);
}

include("version_func.inc");

osName = get_kb_item("ssh/login/osx_name");
if(!osName)
  exit(0);

osVer = get_kb_item("ssh/login/osx_version");
if(!osVer)
  exit(0);

if("Mac OS X" >< osName && osVer =~ "^10\.9")
{
  if(version_in_range(version:osVer, test_version:"10.9.0", test_version2:"10.9.1")){
    fix = "Upgrade to latest OS release 10.9.2 and apply patch from vendor" ;
  }

  else if(osVer == "10.9.2")
  {
    buildVer = get_kb_item("ssh/login/osx_build");
    if(!buildVer){
      exit(0);
    }

    if(version_is_less(version:buildVer, test_version:"13C1021"))
    {
      fix = "Apply patch from vendor";
      osVer = osVer + " Build " + buildVer;
    }
  }
}

if(fix)
{
  report = report_fixed_ver(installed_version:osVer, fixed_version:fix);
  security_message(data:report);
  exit(0);
}

exit(99);