This Solaris system is missing necessary patches to address a critical security update :
#%NASL_MIN_LEVEL 70300
#
# (C) Tenable Network Security, Inc.
#
# The descriptive text and package checks in this plugin were
# extracted from the Oracle CPU for apr2023.
#
include('deprecated_nasl_level.inc');
include("compat.inc");
if (description)
{
script_id(174473);
script_version("1.4");
script_set_attribute(attribute:"plugin_modification_date", value:"2023/11/16");
script_cve_id("CVE-2023-21928");
script_xref(name:"IAVA", value:"2023-A-0215-S");
script_name(english:"Oracle Solaris Critical Patch Update : apr2023_SRU11_4_54_138_1");
script_summary(english:"Check for the apr2023 CPU");
script_set_attribute(
attribute:"synopsis",
value:
"The remote Solaris system is missing a security patch from CPU
apr2023."
);
script_set_attribute(
attribute:"description",
value:
"This Solaris system is missing necessary patches to address a critical
security update :
- Vulnerability in the Oracle Solaris product of Oracle
Systems (component: IPS repository daemon). The
supported version that is affected is 11. Difficult to
exploit vulnerability allows high privileged attacker
with logon to the infrastructure where Oracle Solaris
executes to compromise Oracle Solaris. Successful
attacks require human interaction from a person other
than the attacker. Successful attacks of this
vulnerability can result in unauthorized update, insert
or delete access to some of Oracle Solaris accessible
data. CVSS 3.1 Base Score 1.8 (Integrity impacts). CVSS
Vector: (CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:N/I:L/A:N).
(CVE-2023-21928)"
);
script_set_attribute(
attribute:"see_also",
value:"https://support.oracle.com/epmos/faces/DocumentDisplay?id=2940069.1"
);
script_set_attribute(
attribute:"see_also",
value:"https://www.oracle.com/docs/tech/security-alerts/cpuapr2023cvrf.xml"
);
script_set_attribute(
attribute:"see_also",
value:"https://www.oracle.com/security-alerts/cpuapr2023.html"
);
script_set_attribute(
attribute:"solution",
value:"Install the apr2023 CPU from the Oracle support website."
);
script_set_cvss_base_vector("CVSS2#AV:L/AC:H/Au:M/C:N/I:P/A:N");
script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
script_set_cvss3_base_vector("CVSS:3.0/AV:L/AC:H/PR:H/UI:R/S:U/C:N/I:L/A:N");
script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C");
script_set_attribute(attribute:"cvss_score_source", value:"CVE-2023-21928");
script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
script_set_attribute(attribute:"exploit_available", value:"false");
script_set_attribute(attribute:"plugin_type", value:"local");
script_set_attribute(attribute:"cpe", value:"cpe:/o:oracle:solaris");
script_set_attribute(attribute:"vuln_publication_date", value:"2023/04/18");
script_set_attribute(attribute:"patch_publication_date", value:"2023/04/18");
script_set_attribute(attribute:"plugin_publication_date", value:"2023/04/19");
script_set_attribute(attribute:"generated_plugin", value:"current");
script_set_attribute(attribute:"stig_severity", value:"I");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_copyright(english:"This script is Copyright (C) 2023 and is owned by Tenable, Inc. or an Affiliate thereof.");
script_family(english:"Solaris Local Security Checks");
script_dependencies("ssh_get_info.nasl");
script_require_keys("Host/local_checks_enabled", "Host/Solaris11/release");
exit(0);
}
include("audit.inc");
include("global_settings.inc");
include("solaris.inc");
if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
release = get_kb_item("Host/Solaris11/release");
if (isnull(release)) audit(AUDIT_OS_NOT, "Solaris11");
fix_release = "11.4-11.4.54.0.1.138.1";
flag = 0;
if (solaris_check_release(release:"11.4-11.4.54.0.1.138.1", sru:"11.4.54.138.1") > 0) flag++;
if (flag)
{
if (report_verbosity > 0) security_note(port:0, extra:solaris_get_report2());
else security_note(0);
exit(0);
}
audit(AUDIT_OS_RELEASE_NOT, "Solaris", fix_release, release);