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).
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published: 2023-11-01T15:54:52.093Z

Updated: 2024-09-16T13:52:57.791Z

Reserved: 2023-07-27T12:10:37.684Z

Link: CVE-2023-3972

cve-icon Vulnrichment

Updated: 2024-08-02T07:08:50.763Z

cve-icon NVD

Status : Modified

Published: 2023-11-01T16:15:08.517

Modified: 2024-07-03T01:41:02.753

Link: CVE-2023-3972

cve-icon Redhat

Severity : Important

Publid Date: 2023-11-01T11:00:00Z

Links: CVE-2023-3972 - Bugzilla