CVE-2020-5791 Command injection in Nagios XI

High 7.2 Published Updated

Remote authenticated admins can execute OS commands via improper neutralization in Nagios XI, requiring an upgrade to mitigate.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2020-5791?

CVE-2020-5791 is a high-severity command injection vulnerability in Nagios Nagios Xi, published on 20 Oct 2020. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

Improper neutralization of special elements used in an OS command in Nagios XI 5.7.3 allows a remote, authenticated admin user to execute operating system commands with the privileges of the apache user.

Weakness: CWE-78

Which versions are affected by CVE-2020-5791?

It affects 1 product.

Products include Nagios Nagios Xi.

How do I fix CVE-2020-5791?

No fix has been published for CVE-2020-5791 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2020-5791 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2020-5791 exists.

Public exploit code: 2 Metasploit modules and 1 Exploit-DB entry.

All Nagios Nagios Xi vulnerabilities

Sources

Also known as GHSA-2j39-6c38-r3mx.

Is CVE-2020-5791 in your software?

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

Check your SBOMs for free