CVE-2015-1815 Command injection in n/a
Remote attackers can execute arbitrary commands via shell metacharacters in file names processed by setroubleshoot, requiring an upgrade to fix.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2015-1815?
CVE-2015-1815 is a critical command injection vulnerability in Fedoraproject Fedora, published on 30 Mar 2015. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-77
Which versions are affected by CVE-2015-1815?
It affects 2 products.
Linux distribution packages (28)
setroubleshoot Red Hat:enterprise_linux:5::client | All versions | 0:2.0.5-7.el5_11 |
setroubleshoot-server Red Hat:enterprise_linux:5::client | All versions | 0:2.0.5-7.el5_11 |
setroubleshoot Red Hat:enterprise_linux:5::server | All versions | 0:2.0.5-7.el5_11 |
setroubleshoot-server Red Hat:enterprise_linux:5::server | All versions | 0:2.0.5-7.el5_11 |
setroubleshoot Red Hat:enterprise_linux:6::client | All versions | 0:3.0.47-6.el6_6.1 |
setroubleshoot-debuginfo Red Hat:enterprise_linux:6::client | All versions | 0:3.0.47-6.el6_6.1 |
setroubleshoot-doc Red Hat:enterprise_linux:6::client | All versions | 0:3.0.47-6.el6_6.1 |
setroubleshoot-server Red Hat:enterprise_linux:6::client | All versions | 0:3.0.47-6.el6_6.1 |
setroubleshoot Red Hat:enterprise_linux:6::server | All versions | 0:3.0.47-6.el6_6.1 |
setroubleshoot-debuginfo Red Hat:enterprise_linux:6::server | All versions | 0:3.0.47-6.el6_6.1 |
setroubleshoot-doc Red Hat:enterprise_linux:6::server | All versions | 0:3.0.47-6.el6_6.1 |
setroubleshoot-server Red Hat:enterprise_linux:6::server | All versions | 0:3.0.47-6.el6_6.1 |
setroubleshoot Red Hat:enterprise_linux:6::workstation | All versions | 0:3.0.47-6.el6_6.1 |
setroubleshoot-debuginfo Red Hat:enterprise_linux:6::workstation | All versions | 0:3.0.47-6.el6_6.1 |
setroubleshoot-doc Red Hat:enterprise_linux:6::workstation | All versions | 0:3.0.47-6.el6_6.1 |
setroubleshoot-server Red Hat:enterprise_linux:6::workstation | All versions | 0:3.0.47-6.el6_6.1 |
setroubleshoot Red Hat:enterprise_linux:7::client | All versions | 0:3.2.17-4.1.el7_1 |
setroubleshoot-debuginfo Red Hat:enterprise_linux:7::client | All versions | 0:3.2.17-4.1.el7_1 |
setroubleshoot-server Red Hat:enterprise_linux:7::client | All versions | 0:3.2.17-4.1.el7_1 |
setroubleshoot Red Hat:enterprise_linux:7::hypervisor | All versions | 0:3.2.17-4.1.el7_1 |
setroubleshoot-debuginfo Red Hat:enterprise_linux:7::hypervisor | All versions | 0:3.2.17-4.1.el7_1 |
setroubleshoot-server Red Hat:enterprise_linux:7::hypervisor | All versions | 0:3.2.17-4.1.el7_1 |
setroubleshoot Red Hat:enterprise_linux:7::server | All versions | 0:3.2.17-4.1.ael7b_1 |
setroubleshoot-debuginfo Red Hat:enterprise_linux:7::server | All versions | 0:3.2.17-4.1.ael7b_1 |
setroubleshoot-server Red Hat:enterprise_linux:7::server | All versions | 0:3.2.17-4.1.ael7b_1 |
setroubleshoot Red Hat:enterprise_linux:7::workstation | All versions | 0:3.2.17-4.1.el7_1 |
setroubleshoot-debuginfo Red Hat:enterprise_linux:7::workstation | All versions | 0:3.2.17-4.1.el7_1 |
setroubleshoot-server Red Hat:enterprise_linux:7::workstation | All versions | 0:3.2.17-4.1.el7_1 |
Products include Fedoraproject Fedora, Selinux Setroubleshoot.
How do I fix CVE-2015-1815?
Upgrade to a fixed version.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2015-1815 being exploited?
There is no known exploitation of CVE-2015-1815 in the wild and no public exploit code.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in Fedoraproject Fedora
Sources
Also known as GHSA-6hj4-3cj5-hqm9, RHSA-2015:0729.