All reports
Critical

LibreNMS arbitrary OS commands execution

Affected versions

Affected versions
= 1.46
Fixed version
Not reported

Exploitation

CVE-2018-20434

Probability of exploitation in the next 30 days: 71.49%

FIRST EPSS · 2026-11-22

Description

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.

Links