CVE-2021-40345 Command injection in n/a
Administrators can execute arbitrary system commands via command injection in ZIP file names during dashlet uploads in Nagios XI.
- 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-2021-40345?
CVE-2021-40345 is a high-severity command injection vulnerability in Nagios Nagios Xi, published on 26 Oct 2021. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
An issue was discovered in Nagios XI 5.8.5. In the Manage Dashlets section of the Admin panel, an administrator can upload ZIP files. A command injection (within the name of the first file in the archive) allows an attacker to execute system commands.
Weakness: CWE-77
Which versions are affected by CVE-2021-40345?
It affects 1 product.
Products include Nagios Nagios Xi.
How do I fix CVE-2021-40345?
No fix has been published for CVE-2021-40345 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-2021-40345 being exploited?
There is no known exploitation of CVE-2021-40345 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in Nagios Nagios Xi
Sources
Also known as GHSA-vj8f-j434-7c8h.