RCE in Librenms

CVE-2018-20434

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…

Vulnerability class: Command Injection (OS Command Injection)

EPSS: 0.715 (99.3th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

  • Librenms — versions 1.46
  • N/a — versions n/a

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2018-20434?
CVE-2018-20434 is a critical-severity vulnerability in Librenms, classified under OS Command Injection. CVSS score: 9.8/10. Published 2019-04-24.
How severe is CVE-2018-20434?
Critical severity. CVSS v3 base score is 9.8 out of 10.
Is CVE-2018-20434 known to be exploited?
7 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.