Incorrect default permissions in Insights Core - CVE-2023-3972

 

Incorrect default permissions in Insights Core - CVE-2023-3972

Published: November 7, 2023


Vulnerability identifier: #VU82890
CSH Severity: Low
CVSS v4: 8.5 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2023-3972
CWE-ID: CWE-276
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to unsafe handling of temporary files and directories. Before the insights-client has been registered on the system by root, an unprivileged local user can create the /var/tmp/insights-client directory. After the client is registered by root, the local user can execute arbitrary files with root privileges from the affected directory.


Affected software

Insights Core
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux for Power, big endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
insights-client (Red Hat package)

How to mitigate CVE-2023-3972

Install updates from vendor's website.

Insights Core - update to 3.2.12
insights-client (Red Hat package) - addressed in versions 3.1.9-1.el7_9, 3.2.2-1.el8_6, 3.2.2-1.el8_8, 3.2.2-1.el9_0, 3.2.2-1.el9_2, 3.2.3-1.el8_1, 3.2.3-1.el8_2, 3.2.3-1.el8_4

External References

Related Security Bulletins