7.6 High
AI Score
Confidence
Low
4.4 Medium
CVSS2
Access Vector
LOCAL
Access Complexity
MEDIUM
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
AV:L/AC:M/Au:N/C:P/I:P/A:P
0.0004 Low
EPSS
Percentile
9.3%
Oracle Java SE is prone to a privilege escalation vulnerability.
# SPDX-FileCopyrightText: 2014 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
CPE = "cpe:/a:oracle:jre";
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.804313");
script_version("2024-02-20T14:37:13+0000");
script_cve_id("CVE-2014-1876");
script_tag(name:"cvss_base", value:"4.4");
script_tag(name:"cvss_base_vector", value:"AV:L/AC:M/Au:N/C:P/I:P/A:P");
script_tag(name:"last_modification", value:"2024-02-20 14:37:13 +0000 (Tue, 20 Feb 2024)");
script_tag(name:"creation_date", value:"2014-02-13 12:54:10 +0530 (Thu, 13 Feb 2014)");
script_name("Oracle Java SE Privilege Escalation Vulnerability (Feb 2014) - Windows");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2014 Greenbone AG");
script_family("General");
script_dependencies("gb_java_prdts_detect_portable_win.nasl");
script_mandatory_keys("Sun/Java/JRE/Win/Ver");
script_xref(name:"URL", value:"http://seclists.org/oss-sec/2014/q1/242");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/65568");
script_xref(name:"URL", value:"http://www.oracle.com/index.html");
script_tag(name:"summary", value:"Oracle Java SE is prone to a privilege escalation vulnerability.");
script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");
script_tag(name:"insight", value:"The flaw is due to some error in the
'unpacker::redirect_stdio' function within 'unpack.cpp'.");
script_tag(name:"impact", value:"Successful exploitation will allow a local
attacker to use a symlink attack against the '/tmp/unpack.log' file to overwrite
arbitrary files.");
script_tag(name:"affected", value:"Oracle Java SE 7 update 51 and prior on
Windows");
script_tag(name:"solution", value:"Upgrade to version 8 update 5 or 7 update 55,
or later.");
script_tag(name:"qod_type", value:"registry");
script_tag(name:"solution_type", value:"VendorFix");
exit(0);
}
include("host_details.inc");
include("version_func.inc");
if(!infos = get_app_version_and_location(cpe:CPE, exit_no_version:TRUE)) exit(0);
jreVer = infos['version'];
jrePath = infos['location'];
if(jreVer =~ "^(1\.7)" && version_in_range(version:jreVer, test_version:"1.7", test_version2:"1.7.0.51")){
report = report_fixed_ver(installed_version:jreVer, fixed_version: "8 update 5 or 7 update 55", install_path:jrePath);
security_message(data:report);
exit(0);
}
exit(99);