ghsa-37f3-8h34-h4xf
Vulnerability from github
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).
{ "affected": [], "aliases": [ "CVE-2023-3972" ], "database_specific": { "cwe_ids": [ "CWE-379", "CWE-668" ], "github_reviewed": false, "github_reviewed_at": null, "nvd_published_at": "2023-11-01T16:15:08Z", "severity": "HIGH" }, "details": "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).", "id": "GHSA-37f3-8h34-h4xf", "modified": "2023-11-01T18:30:33Z", "published": "2023-11-01T18:30:33Z", "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-3972" }, { "type": "WEB", "url": "https://github.com/RedHatInsights/insights-core/pull/3878" }, { "type": "WEB", "url": "https://access.redhat.com/errata/RHSA-2023:6264" }, { "type": "WEB", "url": "https://access.redhat.com/errata/RHSA-2023:6282" }, { "type": "WEB", "url": "https://access.redhat.com/errata/RHSA-2023:6283" }, { "type": "WEB", "url": "https://access.redhat.com/errata/RHSA-2023:6284" }, { "type": "WEB", "url": "https://access.redhat.com/errata/RHSA-2023:6795" }, { "type": "WEB", "url": "https://access.redhat.com/errata/RHSA-2023:6796" }, { "type": "WEB", "url": "https://access.redhat.com/errata/RHSA-2023:6798" }, { "type": "WEB", "url": "https://access.redhat.com/errata/RHSA-2023:6811" }, { "type": "WEB", "url": "https://access.redhat.com/security/cve/CVE-2023-3972" }, { "type": "WEB", "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2227027" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "type": "CVSS_V3" } ] }
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.