Skip to content
OpenAdvisories
Unscored Public exploit CVE-2015-1815 EUVD-2015-1937GHSA-6hj4-3cj5-hqm9

The get_rpm_nvr_by_file_path_temporary function in util.py in setroubleshoot before 3.2.22 allows remote attackers to execute arbitrary com…

Published Mar 30, 2015 · Updated Aug 6, 2024 · Assigned by redhat

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.

ReleasePackageFixed inAdvisory
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

ReleasePackageFixed inAdvisory
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.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 2

References