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
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
AI Score
Confidence
High
EPSS
Percentile
99.9%
An update of the openjdk8 package has been released.
#%NASL_MIN_LEVEL 80900
##
# (C) Tenable, Inc.
#
# The descriptive text and package checks in this plugin were
# extracted from VMware Security Advisory PHSA-2023-4.0-0413. The text
# itself is copyright (C) VMware, Inc.
##
include('compat.inc');
if (description)
{
script_id(203588);
script_version("1.3");
script_set_attribute(attribute:"plugin_modification_date", value:"2024/07/24");
script_cve_id(
"CVE-2012-0507",
"CVE-2012-1723",
"CVE-2012-2739",
"CVE-2012-5076",
"CVE-2013-2465",
"CVE-2014-0429",
"CVE-2014-0446",
"CVE-2014-0448",
"CVE-2014-0449",
"CVE-2014-0451",
"CVE-2014-0452",
"CVE-2014-0453",
"CVE-2014-0454",
"CVE-2014-0456",
"CVE-2014-0457",
"CVE-2014-0458",
"CVE-2014-0459",
"CVE-2014-0460",
"CVE-2014-0461",
"CVE-2014-0463",
"CVE-2014-0464",
"CVE-2014-1876",
"CVE-2014-2397",
"CVE-2014-2398",
"CVE-2014-2401",
"CVE-2014-2402",
"CVE-2014-2403",
"CVE-2014-2409",
"CVE-2014-2410",
"CVE-2014-2412",
"CVE-2014-2413",
"CVE-2014-2414",
"CVE-2014-2420",
"CVE-2014-2421",
"CVE-2014-2422",
"CVE-2014-2423",
"CVE-2014-2427",
"CVE-2014-2428",
"CVE-2015-2590",
"CVE-2015-4000",
"CVE-2015-4844",
"CVE-2015-4902",
"CVE-2016-0494",
"CVE-2017-10053",
"CVE-2017-10067",
"CVE-2017-10074",
"CVE-2017-10078",
"CVE-2017-10081",
"CVE-2017-10086",
"CVE-2017-10087",
"CVE-2017-10089",
"CVE-2017-10090",
"CVE-2017-10096",
"CVE-2017-10101",
"CVE-2017-10102",
"CVE-2017-10105",
"CVE-2017-10107",
"CVE-2017-10108",
"CVE-2017-10109",
"CVE-2017-10110",
"CVE-2017-10111",
"CVE-2017-10114",
"CVE-2017-10115",
"CVE-2017-10118",
"CVE-2017-10176",
"CVE-2017-10193",
"CVE-2017-10198",
"CVE-2017-10243",
"CVE-2017-3231",
"CVE-2017-3509",
"CVE-2017-3511",
"CVE-2017-3512",
"CVE-2017-3514",
"CVE-2017-3526",
"CVE-2017-3533",
"CVE-2017-3539",
"CVE-2017-3544",
"CVE-2018-2657",
"CVE-2018-2800",
"CVE-2019-2842",
"CVE-2020-14578",
"CVE-2020-14579",
"CVE-2020-14798",
"CVE-2020-2659",
"CVE-2021-20264",
"CVE-2021-2161",
"CVE-2021-2163",
"CVE-2021-25738",
"CVE-2021-35560",
"CVE-2021-35588",
"CVE-2022-21282",
"CVE-2022-21293",
"CVE-2022-21296",
"CVE-2022-21540",
"CVE-2022-21619",
"CVE-2022-21624",
"CVE-2022-34169"
);
script_xref(name:"CISA-KNOWN-EXPLOITED", value:"2022/03/24");
script_xref(name:"CISA-KNOWN-EXPLOITED", value:"2022/04/18");
script_xref(name:"CEA-ID", value:"CEA-2021-0025");
script_xref(name:"CEA-ID", value:"CEA-2021-0004");
script_name(english:"Photon OS 4.0: Openjdk8 PHSA-2023-4.0-0413");
script_set_attribute(attribute:"synopsis", value:
"The remote PhotonOS host is missing multiple security updates.");
script_set_attribute(attribute:"description", value:
"An update of the openjdk8 package has been released.");
script_set_attribute(attribute:"see_also", value:"https://github.com/vmware/photon/wiki/Security-Update-4.0-413.md");
script_set_attribute(attribute:"solution", value:
"Update the affected Linux packages.");
script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C");
script_set_cvss_temporal_vector("CVSS2#E:H/RL:OF/RC:C");
script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H");
script_set_cvss3_temporal_vector("CVSS:3.0/E:H/RL:O/RC:C");
script_set_attribute(attribute:"cvss_score_source", value:"CVE-2016-0494");
script_set_attribute(attribute:"cvss3_score_source", value:"CVE-2015-2590");
script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
script_set_attribute(attribute:"exploit_available", value:"true");
script_set_attribute(attribute:"exploit_framework_core", value:"true");
script_set_attribute(attribute:"exploited_by_malware", value:"true");
script_set_attribute(attribute:"metasploit_name", value:'Java storeImageArray() Invalid Array Indexing Vulnerability');
script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");
script_set_attribute(attribute:"exploit_framework_canvas", value:"true");
script_set_attribute(attribute:"canvas_package", value:"CANVAS");
script_set_attribute(attribute:"vuln_publication_date", value:"2011/12/28");
script_set_attribute(attribute:"patch_publication_date", value:"2023/06/19");
script_set_attribute(attribute:"plugin_publication_date", value:"2024/07/23");
script_set_attribute(attribute:"plugin_type", value:"local");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:vmware:photonos:openjdk8");
script_set_attribute(attribute:"cpe", value:"cpe:/o:vmware:photonos:4.0");
script_set_attribute(attribute:"generated_plugin", value:"current");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_family(english:"PhotonOS Local Security Checks");
script_copyright(english:"This script is Copyright (C) 2024 and is owned by Tenable, Inc. or an Affiliate thereof.");
script_dependencies("ssh_get_info.nasl");
script_require_keys("Host/local_checks_enabled", "Host/PhotonOS/release", "Host/PhotonOS/rpm-list");
exit(0);
}
include('rpm.inc');
if (!get_kb_item('Host/local_checks_enabled')) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
var _release = get_kb_item('Host/PhotonOS/release');
if (isnull(_release) || _release !~ "^VMware Photon") audit(AUDIT_OS_NOT, 'PhotonOS');
if (_release !~ "^VMware Photon (?:Linux|OS) 4\.0(\D|$)") audit(AUDIT_OS_NOT, 'PhotonOS 4.0');
if (!get_kb_item('Host/PhotonOS/rpm-list')) audit(AUDIT_PACKAGE_LIST_MISSING);
var cpu = get_kb_item('Host/cpu');
if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);
if ('x86_64' >!< cpu && cpu !~ "^i[3-6]86$" && 'aarch64' >!< cpu) audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, 'PhotonOS', cpu);
var flag = 0;
if (rpm_check(release:'PhotonOS-4.0', cpu:'x86_64', reference:'openjdk8-1.8.0.382-1.ph4')) flag++;
if (rpm_check(release:'PhotonOS-4.0', cpu:'x86_64', reference:'openjdk8-doc-1.8.0.382-1.ph4')) flag++;
if (rpm_check(release:'PhotonOS-4.0', cpu:'x86_64', reference:'openjdk8-sample-1.8.0.382-1.ph4')) flag++;
if (rpm_check(release:'PhotonOS-4.0', cpu:'x86_64', reference:'openjdk8-src-1.8.0.382-1.ph4')) flag++;
if (flag)
{
security_report_v4(
port : 0,
severity : SECURITY_HOLE,
extra : rpm_report_get()
);
exit(0);
}
else
{
var tested = pkg_tests_get();
if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
else audit(AUDIT_PACKAGE_NOT_INSTALLED, 'openjdk8');
}
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-0507
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-1723
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-2739
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-5076
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-2465
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-0429
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-0446
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-0448
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-0449
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-0451
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-0452
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-0453
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-0454
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-0456
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-0457
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-0458
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-0459
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-0460
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-0461
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-0463
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-0464
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-1876
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-2397
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-2398
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-2401
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-2402
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-2403
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-2409
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-2410
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-2412
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-2413
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-2414
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-2420
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-2421
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-2422
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-2423
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-2427
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-2428
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-2590
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-4000
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-4844
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-4902
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-0494
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-10053
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-10067
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-10074
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-10078
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-10081
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-10086
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-10087
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-10089
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-10090
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-10096
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-10101
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-10102
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-10105
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-10107
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-10108
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-10109
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-10110
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-10111
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-10114
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-10115
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-10118
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-10176
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-10193
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-10198
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-10243
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3231
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3509
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3511
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3512
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3514
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3526
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3533
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3539
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3544
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-2657
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-2800
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-2842
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-14578
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-14579
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-14798
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-2659
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-20264
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-2161
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-2163
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-25738
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-35560
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-35588
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-21282
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-21293
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-21296
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-21540
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-21619
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-21624
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-34169
github.com/vmware/photon/wiki/Security-Update-4.0-413.md
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
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
AI Score
Confidence
High
EPSS
Percentile
99.9%