#VU35953 OS Command Injection in LibreNMS - CVE-2018-20434

 

#VU35953 OS Command Injection in LibreNMS - CVE-2018-20434

Published: April 24, 2019 / Updated: June 17, 2021


Vulnerability identifier: #VU35953
Vulnerability risk: High
CVSSv4.0: 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/E:P/U:Amber
CVE-ID: CVE-2018-20434
CWE-ID: CWE-78
Exploitation vector: Remote access
Exploit availability: Public exploit is available
Vulnerable software:
LibreNMS
Software vendor:
LibreNMS Project

Description

The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.

LibreNMS 1.46 allows remote attackers to execute arbitrary OS commands by using the $_POST['community'] parameter to html/pages/addhost.inc.php during creation of a new device, and then making a /ajax_output.php?id=capture&format=text&type=snmpwalk&hostname=localhost request that triggers html/includes/output/capture.inc.php command mishandling.


Remediation

Install update from vendor's website.

External links