CVE-2020-5792
Nagios XI vulnerability analysis and mitigation

Overview

CVE-2020-5792 is a command injection vulnerability discovered in Nagios XI version 5.7.3. The vulnerability allows a remote authenticated administrator to write to arbitrary files and execute code with apache user privileges due to improper neutralization of argument delimiters in commands (Tenable Research, NVD).

Technical details

The vulnerability exists in the send_custom_trap() function within /nagiosxi/html/includes/components/nxti/index.php. The command line is escaped using PHP's escapeshellcmd() function, which proves insufficient as attackers can still inject arbitrary arguments. The vulnerability has a CVSS v3 Base Score of 4.7 (Vector: AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L) (Tenable Research).

Impact

Successful exploitation of this vulnerability allows an authenticated attacker with admin rights to execute arbitrary code with the privileges of the apache user. The attacker can write to arbitrary files and ultimately achieve remote code execution on the affected system (Tenable Research).

Exploitability

The vulnerability requires authentication with administrative privileges for exploitation. It can be exploited by injecting arguments into the snmptrap command, using flags like -d to display captured SNMP requests and -L to log output to arbitrary file locations. The vulnerability can also be chained with CSRF attacks, potentially allowing unauthenticated exploitation if an administrator clicks a malicious link (Tenable Research).

Mitigation and workarounds

The recommended mitigation is to upgrade to Nagios XI version 5.7.4 or newer, which contains patches for this vulnerability (Tenable Research).

Additional resources


SourceThis report was generated using AI

Related Nagios XI vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-48554HIGH7.7
  • Nagios logoNagios
  • nagios4
NoNoAug 12, 2026
CVE-2026-48553HIGH7.7
  • Nagios logoNagios
  • cpe:2.3:a:nagios:nagios_xi
NoNoAug 12, 2026
CVE-2026-48549MEDIUM6.9
  • Nagios logoNagios
  • nagios4
NoNoAug 26, 2026
CVE-2026-48551MEDIUM6.1
  • Nagios logoNagios
  • nagios4
NoNoAug 12, 2026
CVE-2026-48552MEDIUM5.1
  • Nagios logoNagios
  • cpe:2.3:a:nagios:nagios_xi
NoNoAug 12, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management