OS command injection in Nagios - CVE-2018-8735
Published: May 31, 2018 / Updated: June 17, 2021
Vulnerability identifier: #VU13099
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2018-8735
CWE-ID: CWE-78
Exploitation vector: Remote access
Exploit availability:
Public exploit is available
Vulnerability details
The vulnerability allows a remote attacker to execute shell commands on the target system.
The weakness exists due to incorrect processing of the user’s input data in the certain parameter. A remote attacker can inject and execute arbitrary shell commands with root privileges.
The weakness exists due to incorrect processing of the user’s input data in the certain parameter. A remote attacker can inject and execute arbitrary shell commands with root privileges.
Successful exploitation of the vulnerability may result in system compromise.
Affected software
Nagios
How to mitigate CVE-2018-8735
Update to version 5.4.13.
Links to Public Exploits and PoC-codes
- Exploit #6211 - Nagios XI 5.2.6 < 5.2.9 / 5.3 / 5.4 - Chained Remote Root (June 17, 2021)
- Exploit #1936 - Nagios-XI-5.2.6-9-5.3-5.4-Chained-Remote-Root-Exploit-Fixed (Fixed exploit for Nagios CVE-2018-8733, CVE-2018-8734, CVE-2018-8735, CVE-2018-8736 https://www.exploit-db.com/exploits/44560/) (March 18, 2020)
- Exploit #1825 - Nagios XI Chained Remote Code Execution (March 18, 2020)