This host is missing an important security update according to
the Java for Mac OS X 10.6 Update 10.
# SPDX-FileCopyrightText: 2012 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.803029");
script_version("2024-02-09T14:47:30+0000");
script_cve_id("CVE-2012-0547");
script_tag(name:"cvss_base", value:"3.5");
script_tag(name:"cvss_base_vector", value:"AV:L/AC:H/Au:S/C:P/I:P/A:P");
script_tag(name:"last_modification", value:"2024-02-09 14:47:30 +0000 (Fri, 09 Feb 2024)");
script_tag(name:"creation_date", value:"2012-09-21 11:04:53 +0530 (Fri, 21 Sep 2012)");
script_name("Apple Mac OS X Security Update for Java (HT5473)");
script_copyright("Copyright (C) 2012 Greenbone AG");
script_category(ACT_GATHER_INFO);
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\.6\.8");
script_xref(name:"URL", value:"http://support.apple.com/kb/HT5473");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/55339");
script_xref(name:"URL", value:"http://secunia.com/advisories/50133");
script_xref(name:"URL", value:"http://securitytracker.com/id/1027458");
script_xref(name:"URL", value:"http://lists.apple.com/archives/security-announce/2012/Sep/msg00000.html");
script_xref(name:"URL", value:"https://www.oracle.com/security-alerts/alert-cve-2012-4681.html");
script_tag(name:"impact", value:"Has no impact and remote attack vectors. The missing patch is a
security-in-depth fix released by Oracle.");
script_tag(name:"affected", value:"Java for Mac OS X v10.6.8 or Mac OS X Server v10.6.8.");
script_tag(name:"insight", value:"Unspecified vulnerability in the JRE component related to AWT
sub-component.
Remark: NIST don't see 'security-in-depth fixes' as software flaws so the referenced CVE has a
severity of 0.0. The severity of this VT has been raised by Greenbone to still report a missing
security update.");
script_tag(name:"solution", value:"Update to Java for Mac OS X 10.6 Update 10 or later.");
script_tag(name:"summary", value:"This host is missing an important security update according to
the Java for Mac OS X 10.6 Update 10.");
script_tag(name:"qod_type", value:"package");
script_tag(name:"solution_type", value:"VendorFix");
exit(0);
}
include("pkg-lib-macosx.inc");
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) {
if(version_is_equal(version:osVer, test_version:"10.6.8")) {
if(isosxpkgvuln(fixed:"com.apple.pkg.JavaForMacOSX10.6", diff:"10")) {
report = report_fixed_ver(installed_version:osVer, vulnerable_range:"Equal to 10.6.8");
security_message(port:0, data:report);
exit(0);
}
}
}
exit(99);