Insights-client: unsafe handling of temporary files and directories
CVE-2023-3972
Key Information:
- Vendor
- Red Hat
- Status
- Vendor
- CVE Published:
- 1 November 2023
Summary
A local privilege escalation vulnerability exists in the insights-client due to insecure file operations related to temporary files and directories. If unprivileged users create a specific directory before the insights-client is registered by root, they can set it to be writable. Once registered, an attacker leveraging this misconfiguration can introduce malicious scripts into the insights directory. This manipulation allows them to execute arbitrary code with root privileges, effectively bypassing SELinux protections, as the insights processes can disable SELinux system-wide.
Affected Version(s)
Red Hat Enterprise Linux 7 0:3.1.9-1.el7_9
Red Hat Enterprise Linux 8 0:3.2.2-1.el8_8
Red Hat Enterprise Linux 8.1 Update Services for SAP Solutions 0:3.2.3-1.el8_1
References
CVSS V3.1
Timeline
Vulnerability published
Vulnerability Reserved