HIGH · 7.8

CVE-2023-3972

A vulnerability was found in insights-client. This security issue occurs because of insecure file operations or unsafe handling of temporary files and directories that lead to local privilege escalati...

Vulnerability Description

A vulnerability was found in insights-client. This security issue occurs because of insecure file operations or unsafe handling of temporary files and directories that lead to local privilege escalation. Before the insights-client has been registered on the system by root, an unprivileged local user or attacker could create the /var/tmp/insights-client directory (owning the directory with read, write, and execute permissions) on the system. After the insights-client is registered by root, an attacker could then control the directory content that insights are using by putting malicious scripts into it and executing arbitrary code as root (trivially bypassing SELinux protections because insights processes are allowed to disable SELinux system-wide).

CVSS Score

7.8

HIGH

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH

Affected Products

VendorProductVersions
RedhatInsights-Client< 3.2.2
RedhatEnterprise Linux7.0
RedhatEnterprise Linux Aus8.6
RedhatEnterprise Linux Desktop7.0
RedhatEnterprise Linux Eus8.6
RedhatEnterprise Linux For Arm 648.0
RedhatEnterprise Linux For Arm 64 Eus8.6
RedhatEnterprise Linux For Ibm Z Systems7.0
RedhatEnterprise Linux For Ibm Z Systems Eus8.6
RedhatEnterprise Linux For Power Big Endian7.0
RedhatEnterprise Linux For Power Little Endian7.0
RedhatEnterprise Linux For Power Little Endian Eus8.6
RedhatEnterprise Linux For Scientific Computing7.0
RedhatEnterprise Linux Server7.0
RedhatEnterprise Linux Server Aus8.2
RedhatEnterprise Linux Server For Power Little Endian Update Services For Sap Solutions8.1
RedhatEnterprise Linux Server Tus8.2
RedhatEnterprise Linux Server Update Services For Sap Solutions9.2
RedhatEnterprise Linux Update Services For Sap Solutions8.1

Related Weaknesses (CWE)

References

FAQ

What is CVE-2023-3972?

CVE-2023-3972 is a vulnerability with a CVSS score of 7.8 (HIGH). A vulnerability was found in insights-client. This security issue occurs because of insecure file operations or unsafe handling of temporary files and directories that lead to local privilege escalati...

How severe is CVE-2023-3972?

CVE-2023-3972 has been rated HIGH with a CVSS base score of 7.8/10. Review the CVSS metrics above for detailed severity breakdown.

Is there a patch for CVE-2023-3972?

Check the references section above for vendor advisories and patch information. Affected products include: Redhat Insights-Client, Redhat Enterprise Linux, Redhat Enterprise Linux Aus, Redhat Enterprise Linux Desktop, Redhat Enterprise Linux Eus.