Insights-client: unsafe handling of temporary files and directories
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).
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
10cpe:/a:redhat:enterprise_linux:8::appstream+ 3 more
- cpe:/a:redhat:enterprise_linux:8::appstreamrange: 0:3.2.2-1.el8_8
- cpe:/a:redhat:enterprise_linux:9::appstreamrange: 0:3.2.2-1.el9_2
- cpe:/o:redhat:enterprise_linux:6
- cpe:/o:redhat:enterprise_linux:7::serverrange: 0:3.1.9-1.el7_9
cpe:/a:redhat:rhel_aus:8.2::appstream+ 2 more
- cpe:/a:redhat:rhel_aus:8.2::appstreamrange: 0:3.2.3-1.el8_2
- cpe:/a:redhat:rhel_e4s:8.1::appstreamrange: 0:3.2.3-1.el8_1
- cpe:/a:redhat:rhel_tus:8.4::appstreamrange: 0:3.2.3-1.el8_4
- Red Hat/Red Hat Enterprise Linux 8.6 Extended Update Supportv5cpe:/a:redhat:rhel_eus:8.6::appstreamRange: 0:3.2.2-1.el8_6
- Red Hat/Red Hat Enterprise Linux 9.0 Extended Update Supportv5cpe:/a:redhat:rhel_eus:9.0::appstreamRange: 0:3.2.2-1.el9_0
Patches
Vulnerability mechanics
References
11- access.redhat.com/errata/RHSA-2023:6264mitrevendor-advisoryx_refsource_REDHAT
- access.redhat.com/errata/RHSA-2023:6282mitrevendor-advisoryx_refsource_REDHAT
- access.redhat.com/errata/RHSA-2023:6283mitrevendor-advisoryx_refsource_REDHAT
- access.redhat.com/errata/RHSA-2023:6284mitrevendor-advisoryx_refsource_REDHAT
- access.redhat.com/errata/RHSA-2023:6795mitrevendor-advisoryx_refsource_REDHAT
- access.redhat.com/errata/RHSA-2023:6796mitrevendor-advisoryx_refsource_REDHAT
- access.redhat.com/errata/RHSA-2023:6798mitrevendor-advisoryx_refsource_REDHAT
- access.redhat.com/errata/RHSA-2023:6811mitrevendor-advisoryx_refsource_REDHAT
- access.redhat.com/security/cve/CVE-2023-3972mitrevdb-entryx_refsource_REDHAT
- bugzilla.redhat.com/show_bug.cgimitreissue-trackingx_refsource_REDHAT
- github.com/RedHatInsights/insights-core/pull/3878mitre
News mentions
0No linked articles in our index yet.