Description
The get_rpm_nvr_by_file_path_temporary function in util.py in setroubleshoot before 3.2.22 allows remote attackers to execute arbitrary commands via shell metacharacters in a file name.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7 | setroubleshoot +1 | 3.2.17-4.1.ael7b_1 | RHSA-2015:0729 |
| RHEL 6 | setroubleshoot +2 | 3.0.47-6.el6_6.1 | RHSA-2015:0729 |
| RHEL 5 | setroubleshoot +1 | 2.0.5-7.el5_11 | RHSA-2015:0729 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | setroubleshoot +1 | 3.2.17-4.1.0.1.el7_1 | ELSA-2015-0729 |
| Oracle Linux 7 | setroubleshoot-doc | 3.0.47-6.0.1.el6_6.1 | ELSA-2015-0729 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- Fedora 21 setroubleshootd 3.2.22 - Local Privilege Escalation EDB-36564 · local · Mar 30, 2015
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 2
- RHSA-2015:0729 Red Hat Security Advisory: setroubleshoot security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- ELSA-2015-0729 Important: setroubleshoot security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Mar 26, 2015
References
- FEDORA-2015-4833 vendor-advisory
- 73374 vdb-entry
- 36564 exploit
- FEDORA-2015-4838 vendor-advisory
- [oss-security] 20150326 Fwd: setroubleshoot root exploit (CVE-Request) mailing-list
- https://bugzilla.redhat.com/show_bug.cgi?id=1206050
- FEDORA-2015-4792 vendor-advisory
- RHSA-2015:0729 vendor-advisory
- 119966 vdb-entry
- https://github.com/stealth/troubleshooter
- https://bugzilla.redhat.com/show_bug.cgi?id=1203352