Improper Neutralization of Special Elements in Output Used by a Downstream Component in nrpe - CVE-2020-6581

 

Improper Neutralization of Special Elements in Output Used by a Downstream Component in nrpe - CVE-2020-6581

Published: March 16, 2020 / Updated: December 11, 2020


Vulnerability identifier: #VU48930
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2020-6581
CWE-ID: CWE-74
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: www.nagios.org
Affected software:
nrpe

Detailed vulnerability description

The vulnerability allows a remote authenticated user to execute arbitrary code.

Nagios NRPE 3.2.1 has Insufficient Filtering because, for example, nasty_metachars interprets as the character and the character n (not as the newline sequence). This can cause command injection.


How to mitigate CVE-2020-6581

Install update from vendor's website.

Sources