CVE-2015-1815 Command injection in n/a

Critical 10.0 Published Updated

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::clientAll versions0:2.0.5-7.el5_11
setroubleshoot-server Red Hat:enterprise_linux:5::clientAll versions0:2.0.5-7.el5_11
setroubleshoot Red Hat:enterprise_linux:5::serverAll versions0:2.0.5-7.el5_11
setroubleshoot-server Red Hat:enterprise_linux:5::serverAll versions0:2.0.5-7.el5_11
setroubleshoot Red Hat:enterprise_linux:6::clientAll versions0:3.0.47-6.el6_6.1
setroubleshoot-debuginfo Red Hat:enterprise_linux:6::clientAll versions0:3.0.47-6.el6_6.1
setroubleshoot-doc Red Hat:enterprise_linux:6::clientAll versions0:3.0.47-6.el6_6.1
setroubleshoot-server Red Hat:enterprise_linux:6::clientAll versions0:3.0.47-6.el6_6.1
setroubleshoot Red Hat:enterprise_linux:6::serverAll versions0:3.0.47-6.el6_6.1
setroubleshoot-debuginfo Red Hat:enterprise_linux:6::serverAll versions0:3.0.47-6.el6_6.1
setroubleshoot-doc Red Hat:enterprise_linux:6::serverAll versions0:3.0.47-6.el6_6.1
setroubleshoot-server Red Hat:enterprise_linux:6::serverAll versions0:3.0.47-6.el6_6.1
setroubleshoot Red Hat:enterprise_linux:6::workstationAll versions0:3.0.47-6.el6_6.1
setroubleshoot-debuginfo Red Hat:enterprise_linux:6::workstationAll versions0:3.0.47-6.el6_6.1
setroubleshoot-doc Red Hat:enterprise_linux:6::workstationAll versions0:3.0.47-6.el6_6.1
setroubleshoot-server Red Hat:enterprise_linux:6::workstationAll versions0:3.0.47-6.el6_6.1
setroubleshoot Red Hat:enterprise_linux:7::clientAll versions0:3.2.17-4.1.el7_1
setroubleshoot-debuginfo Red Hat:enterprise_linux:7::clientAll versions0:3.2.17-4.1.el7_1
setroubleshoot-server Red Hat:enterprise_linux:7::clientAll versions0:3.2.17-4.1.el7_1
setroubleshoot Red Hat:enterprise_linux:7::hypervisorAll versions0:3.2.17-4.1.el7_1
setroubleshoot-debuginfo Red Hat:enterprise_linux:7::hypervisorAll versions0:3.2.17-4.1.el7_1
setroubleshoot-server Red Hat:enterprise_linux:7::hypervisorAll versions0:3.2.17-4.1.el7_1
setroubleshoot Red Hat:enterprise_linux:7::serverAll versions0:3.2.17-4.1.ael7b_1
setroubleshoot-debuginfo Red Hat:enterprise_linux:7::serverAll versions0:3.2.17-4.1.ael7b_1
setroubleshoot-server Red Hat:enterprise_linux:7::serverAll versions0:3.2.17-4.1.ael7b_1
setroubleshoot Red Hat:enterprise_linux:7::workstationAll versions0:3.2.17-4.1.el7_1
setroubleshoot-debuginfo Red Hat:enterprise_linux:7::workstationAll versions0:3.2.17-4.1.el7_1
setroubleshoot-server Red Hat:enterprise_linux:7::workstationAll versions0: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.

All Fedoraproject Fedora vulnerabilities

Sources

Also known as GHSA-6hj4-3cj5-hqm9, RHSA-2015:0729.

Is CVE-2015-1815 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free