Arbitrary OS Command Execution in LibreNMS 1.46

Arbitrary OS Command Execution in LibreNMS 1.46

CVE-2018-20434 · HIGH Severity

AV:N/AC:L/AU:N/C:C/I:C/A:C

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.

Learn more about our Web Application Penetration Testing UK.