RCE in Setroubleshoot Project
CVE-2016-4989
setroubleshoot allows local users to bypass an intended container protection mechanism and execute arbitrary commands by (1) triggering an SELinux denial with a crafted file name, which is handled by the _set_tpath function in audit_data.py or via a crafted (2) local_id or (3) analysis_id field in a crafted XML document to the run_fix function in SetroubleshootFixit.py, related to the subprocess.check_output and commands.getstatusoutput functions, a different vulnerability than CVE-2016-4445.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.0 (High). Vector: CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.005, 40.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Setroubleshoot Project
- Red Hat Enterprise Linux Desktop — versions 7.0
- Red Hat Enterprise Linux Hpc Node — versions 7.0
- Red Hat Enterprise Linux Server — versions 7.0
- Red Hat Enterprise Linux Workstation — versions 7.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (c-skills/CVEs). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- bugzilla.redhat.com/show_bug.cgi (Issue Tracking)
- RHSA-2016:1267 (vendor-advisory, Third Party Advisory)
- github.com/fedora-selinux/setroubleshoot/commit/e69378d7e82a503534d29c5939fa219… (Patch)
- [oss-security] 20160621 SELinux troubles (mailing-list, Mailing List, Third Party Advisory)
- RHSA-2016:1293 (vendor-advisory, Third Party Advisory)
- securitytracker.com/id/1036144 (Patch, Third Party Advisory, vdb-entry)
- github.com/fedora-selinux/setroubleshoot/commit/dda55aa50db95a25f0d919c3a0d5871… (Patch)