CVE-2018-20434Librenms
Critical 9.8 No auth neededHigh EPSS
Follow: this CVE · Librenms · Librenms We alert you by email or Slack (account required).
- Priority
- 81
- CVSS 3.0
- 9.8
- EPSS
- 71.5% probability of exploitation in 30 days · percentile 100
- Auth required
- No
- Published
- Apr 24, 2019
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-78
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Librenms.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | librenms/librenms |
1.46 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-62q7-qj6g-gvr7). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| librenms | librenms | 1.46 |
Official sources
References
Links published by the sources. Open them with care.
- packetstormsecurity.com
- packetstormsecurity.com
- drive.google.com Permissions Required Third Party Advisory
- gist.github.com Exploit Third Party Advisory
- shells.systems Exploit Technical Description Third Party Advisory