CVE-2020-6581 Command injection in n/a
Insufficient filtering in Nagios NRPE allows attackers to execute arbitrary commands via crafted input due to improper handling of metacharacters.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2020-6581?
CVE-2020-6581 is a high-severity command injection vulnerability in Fedoraproject Fedora, published on 16 Mar 2020. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
Nagios NRPE 3.2.1 has Insufficient Filtering because, for example, nasty_metachars interprets \n as the character \ and the character n (not as the \n newline sequence). This can cause command injection.
Which versions are affected by CVE-2020-6581?
It affects 2 products.
Products include Fedoraproject Fedora, Nagios Remote Plug in Executor.
How do I fix CVE-2020-6581?
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-2020-6581 being exploited?
There is no known exploitation of CVE-2020-6581 in the wild and no public exploit code.
Other vulnerabilities in Fedoraproject Fedora
Sources
Also known as ALPINE-CVE-2020-6581, DEBIAN-CVE-2020-6581, GHSA-cvrp-qf9f-rq8m, UBUNTU-CVE-2020-6581.