CVE-2015-5186 Command injection in n/a
Attackers can execute arbitrary commands by exploiting unsanitized escape characters in filenames within the Linux audit utility.
- 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-5186?
CVE-2015-5186 is a medium-severity command injection vulnerability in n/a, published on 6 Sep 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Audit before 2.4.4 in Linux does not sanitize escape characters in filenames.
Weakness: CWE-20
Which versions are affected by CVE-2015-5186?
It affects 1 product.
Linux distribution packages (15)
audit SUSE:Linux Enterprise Desktop 12 SP3 | All versions | 2.8.1-8.3.1 |
audit-secondary SUSE:Linux Enterprise Desktop 12 SP3 | All versions | 2.8.1-8.3.3 |
audit SUSE:Linux Enterprise Desktop 12 SP4 | All versions | 2.8.1-10.3.2 |
audit-secondary SUSE:Linux Enterprise Desktop 12 SP4 | All versions | 2.8.1-10.3.2 |
audit SUSE:Linux Enterprise Server 12 SP3 | All versions | 2.8.1-8.3.1 |
audit-secondary SUSE:Linux Enterprise Server 12 SP3 | All versions | 2.8.1-8.3.3 |
audit SUSE:Linux Enterprise Server 12 SP4 | All versions | 2.8.1-10.3.2 |
audit-secondary SUSE:Linux Enterprise Server 12 SP4 | All versions | 2.8.1-10.3.2 |
audit SUSE:Linux Enterprise Server for SAP Applications 12 SP3 | All versions | 2.8.1-8.3.1 |
audit-secondary SUSE:Linux Enterprise Server for SAP Applications 12 SP3 | All versions | 2.8.1-8.3.3 |
audit SUSE:Linux Enterprise Server for SAP Applications 12 SP4 | All versions | 2.8.1-10.3.2 |
audit-secondary SUSE:Linux Enterprise Server for SAP Applications 12 SP4 | All versions | 2.8.1-10.3.2 |
audit SUSE:Linux Enterprise Software Development Kit 12 SP3 | All versions | 2.8.1-8.3.1 |
audit SUSE:Linux Enterprise Software Development Kit 12 SP4 | All versions | 2.8.1-10.3.2 |
audit openSUSE:Tumbleweed | All versions | 2.5-1.82 |
Products include Linux Audit Project Linux Audit.
How do I fix CVE-2015-5186?
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-5186 being exploited?
There is no known exploitation of CVE-2015-5186 in the wild and no public exploit code.
Sources
Also known as DEBIAN-CVE-2015-5186, GHSA-xcgq-gmv8-4m3c, MGASA-2015-0333, SUSE-SU-2019:0563-1, SUSE-SU-2019:1166-1, UBUNTU-CVE-2015-5186 and 1 more.