CVSS2
Attack Vector
NETWORK
Attack Complexity
LOW
Authentication
NONE
Confidentiality Impact
COMPLETE
Integrity Impact
COMPLETE
Availability Impact
COMPLETE
AV:N/AC:L/Au:N/C:C/I:C/A:C
AI Score
Confidence
Low
EPSS
Percentile
83.5%
Apple Mac OS X is prone to multiple vulnerabilities.
# SPDX-FileCopyrightText: 2015 Greenbone AG
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-only
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.805496");
script_version("2024-02-20T05:05:48+0000");
script_cve_id("CVE-2015-1066", "CVE-2015-1061");
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:"2024-02-20 05:05:48 +0000 (Tue, 20 Feb 2024)");
script_tag(name:"creation_date", value:"2015-03-19 10:56:24 +0530 (Thu, 19 Mar 2015)");
script_name("Apple Mac OS X Multiple Vulnerabilities -03 (Mar 2015)");
script_tag(name:"summary", value:"Apple Mac OS X 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 off-by-one overflow condition in the IOAcceleratorFamily component that
is triggered as user-supplied input is not properly validated
- The flaw in IOSurface that is triggered during the handling of a specially
crafted serialized object.");
script_tag(name:"impact", value:"Successful exploitation will allow remote
attackers to execute arbitrary code on the targeted system, to conduct denial
of service and local user can obtain root privileges on the target system.");
script_tag(name:"affected", value:"Apple Mac OS X version through
10.10.2");
script_tag(name:"solution", value:"Apply the fix from Apple Security Update
2015-002.");
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/HT204413");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2015 Greenbone AG");
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\.([89]|10)");
exit(0);
}
include("version_func.inc");
osName = get_kb_item("ssh/login/osx_name");
if(!osName || "Mac OS X" >!< osName){
exit(0);
}
osVer = get_kb_item("ssh/login/osx_version");
if(!osVer || osVer !~ "^10\.([89]|10)"){
exit(0);
}
if(version_in_range(version:osVer, test_version:"10.8", test_version2:"10.8.4")||
version_in_range(version:osVer, test_version:"10.9", test_version2:"10.9.4")||
version_in_range(version:osVer, test_version:"10.10", test_version2:"10.10.1")){
fix = "Upgrade to latest OS release and apply patch from vendor";
}
else
{
buildVer = get_kb_item("ssh/login/osx_build");
if(buildVer && (osVer == "10.8.5" && version_is_less(version:buildVer, test_version:"12F2501")))
{
fix = "Apply patch from vendor";
osVer = osVer + " Build " + buildVer;
}
else if(buildVer && (osVer == "10.9.5" && version_is_less(version:buildVer, test_version:"13F1066")))
{
fix = "Apply patch from vendor";
osVer = osVer + " Build " + buildVer;
}
else if(buildVer && (osVer == "10.10.2" && version_is_less(version:buildVer, test_version:"14C1510")))
{
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);