Back
CVE-2018-20434
LibreNMS 1.46 allows remote attackers to execute arbitrary OS commands by using the $_POST['community'] parameter to…
Critical9.8EPSS 71.5%
- Published
- Updated
- Reserved
- Assigned by
- mitre
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.0 | Critical9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 71.5% · top 0.6% of all CVEs (5 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.8.
Weakness
Affected products
n/a
- affected n/a
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Packagistlibrenms/librenmsGHSA-62q7-qj6g-gvr7 (opens in a new tab)
References (5)
- https://gist.github.com/mhaskar/516df57aafd8c6e3a1d70765075d372d (opens in a new tab)x_refsource_MISCx_transferred
- https://drive.google.com/file/d/1LcGmOY8x-TG-wnNr-cM_f854kxk0etva/view?usp=sharing (opens in a new tab)x_refsource_MISCx_transferred
- https://shells.systems/librenms-v1-46-remote-code-execution-cve-2018-20434/ (opens in a new tab)x_refsource_MISCx_transferred
- http://packetstormsecurity.com/files/153188/LibreNMS-addhost-Command-Injection.html (opens in a new tab)x_refsource_MISCx_transferred
- http://packetstormsecurity.com/files/153448/LibreNMS-1.46-addhost-Remote-Code-Execution.html (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-62q7-qj6g-gvr7 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2018-20434)Record last updated .