CVEvulnerability
CVE-2018-20434
9.8 CRITICAL
Official page ↗
- Status
- Modified
- Published
- 2019-04-24
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.0 ([email protected])
- 9.8 CRITICAL — CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 10.0 HIGH — AV:N/AC:L/Au:N/C:C/I:C/A:C
- Weaknesses
- CWE-78
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.
Affected configurations
• librenms librenms 1.46
Related
Weakness · CWE (1)
- CWE-78 Improper Neutralization of Special Elements used in an OS Command weakness
References
- http://packetstormsecurity.com/files/153188/LibreNMS-addhost-Command-Injection.html packetstormsecurity.com
- http://packetstormsecurity.com/files/153448/LibreNMS-1.46-addhost-Remote-Code-Execution.html packetstormsecurity.com
- https://drive.google.com/file/d/1LcGmOY8x-TG-wnNr-cM_f854kxk0etva/view?usp=sharing Permissions Required, Third Party Advisory
- https://gist.github.com/mhaskar/516df57aafd8c6e3a1d70765075d372d Exploit, Third Party Advisory
- https://shells.systems/librenms-v1-46-remote-code-execution-cve-2018-20434/ Exploit, Technical Description, Third Party Advisory
- http://packetstormsecurity.com/files/153188/LibreNMS-addhost-Command-Injection.html packetstormsecurity.com
- http://packetstormsecurity.com/files/153448/LibreNMS-1.46-addhost-Remote-Code-Execution.html packetstormsecurity.com
- https://drive.google.com/file/d/1LcGmOY8x-TG-wnNr-cM_f854kxk0etva/view?usp=sharing Permissions Required, Third Party Advisory
- https://gist.github.com/mhaskar/516df57aafd8c6e3a1d70765075d372d Exploit, Third Party Advisory
- https://shells.systems/librenms-v1-46-remote-code-execution-cve-2018-20434/ Exploit, Technical Description, Third Party Advisory