Critical
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2018-20434
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 07:35 UTC · Revision 1
Source evidence
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.
osv:CVE-2018-20434
Complete source record
{
"id": "f8d852d81af076a801c2530f7413c476fb0d0078cabc671b4ec7142f4c20d24b",
"url": "https://osv.dev/vulnerability/CVE-2018-20434",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2018-20434",
"summary": "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.",
"evidence": "osv:CVE-2018-20434",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2018-20434",
"aliases": [
"CVE-2018-20434",
"GHSA-62q7-qj6g-gvr7"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/librenms/librenms",
"type": "GIT",
"events": [
{
"introduced": "bd5e692dc778ff7e7e05e5765baa2ad584154589"
},
{
"last_affected": "bd5e692dc778ff7e7e05e5765baa2ad584154589"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:librenms:librenms:1.46:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.46"
},
{
"last_affected": "1.46"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"1.46"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-20434.json"
}
}
],
"modified": "2026-10-24T10:30:55.336870361Z",
"provider": "osv",
"references": [
"https://drive.google.com/file/d/1LcGmOY8x-TG-wnNr-cM_f854kxk0etva/view?usp=sharing",
"https://gist.github.com/mhaskar/516df57aafd8c6e3a1d70765075d372d",
"https://shells.systems/librenms-v1-46-remote-code-execution-cve-2018-20434/"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2018-20434",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 438390,
"published_at": "2019-04-24T21:29:00.4+00:00"
}