nday
CVE-2018-20434

LibreNMS 1.46 allows remote attackers to execute arbitrary OS commands by using the…Titre composé par nday ; la fiche CVE n’en comporte pas.

Preuve de concept publique parue 42 jours après la divulgation. nday n’a encore aucune trace de correctif ; cela ne veut pas dire qu’il n’en existe pas. Cette vulnérabilité figure dans 2 des 4 sources de PoC : exploitdb et metasploit. Aucune inscription au catalogue KEV de la CISA à ce jour.

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

command injection
CWE-78, stated by NVD's analysts
remote, unauthenticated
AV:N, PR:N, UI:N in CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.0) from NVD's analysts
network
AV:N in CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.0) from NVD's analysts
no authentication required
PR:N in CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.0) from NVD's analysts
no user interaction
UI:N in CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.0) from NVD's analysts
Metasploit
Metasploit modules exploit/linux/http/librenms_addhost_cmd_inject
Exploit-DB
Exploit-DB entries 46970, 47044
étape actuelle
POC
divulgation
délai avant PoC
T+42d POC : date seule
CVSS
pas encore de score

Cycle de vie

Axe en UTC ; point = minute exacte, barre large = date seule, creux = inconnue ou déduite.
date inconnue
DISdivulguée
2019-04-24T20:05Z
PATcorrectif
aucune donnée
ANAanalyse
aucune donnée
POCPoC
2019-06-05, date seule +1 autre
metasploit
ITWexploitée
aucune donnée
KEVKEV
aucune donnée

Résumé

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.

Original text of the CVE record (cvelist), shown as published.

Journal des événements

+DISdivulgation

Fiche CVE publiée par mitre.

source cvelist · importé en masse par nday le · brut
{
  "id": 66182,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2018-20434",
  "occurred_at": "2019-04-24T20:05:43Z",
  "observed_at": "2026-11-12T23:01:25.305088Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "state": "PUBLISHED",
    "date_published": "2019-04-24T20:05:43.000Z",
    "assigner_short_name": "mitre"
  }
}
2019-06-05date seule, selon la source
+POCPoC publique

Exploit-DB recense un code d’exploitation public : « LibreNMS - addhost Command Injection (Metasploit) » (EDB-46970). Code vérifié par Exploit-DB.

source exploitdb 46970 · importé en masse par nday le · brut
{
  "id": 24962,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/46970",
  "occurred_at": "2019-06-05T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "46970",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/46970",
    "file": "exploits/linux/remote/46970.rb",
    "kind": "exploit",
    "tags": [
      "Metasploit Framework (MSF)"
    ],
    "type": "remote",
    "title": "LibreNMS - addhost Command Injection (Metasploit)",
    "author": "Metasploit",
    "edb_id": 46970,
    "cve_ids": [
      "CVE-2018-20434"
    ],
    "platform": "linux",
    "verified": true,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2019-06-05",
    "date_updated": "2019-06-05",
    "date_published": "2019-06-05"
  }
}
2019-06-28date seule, selon la source
+POCPoC publique

Exploit-DB recense un code d’exploitation public : « LibreNMS 1.46 - 'addhost' Remote Code Execution » (EDB-47044). Code vérifié par Exploit-DB.

source exploitdb 47044 · importé en masse par nday le · brut
{
  "id": 34517,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/47044",
  "occurred_at": "2019-06-28T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "47044",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/47044",
    "file": "exploits/php/webapps/47044.py",
    "kind": "exploit",
    "tags": [],
    "type": "webapps",
    "title": "LibreNMS 1.46 - 'addhost' Remote Code Execution",
    "author": "Askar",
    "edb_id": 47044,
    "cve_ids": [
      "CVE-2018-20434"
    ],
    "platform": "php",
    "verified": true,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2019-06-28",
    "date_updated": "2019-06-28",
    "date_published": "2019-06-28"
  }
}
date inconnuela source ne donne aucune date
+POCPoC publique

Metasploit propose le module exploit/linux/http/librenms_addhost_cmd_inject (« LibreNMS addhost Command Injection »). La source n’indique pas la date de publication du module.

source metasploit exploit/linux/http/librenms_addhost_cmd_inject · importé en masse par nday le · brut
{
  "id": 50582,
  "type": "poc_published",
  "source": "metasploit",
  "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/librenms_addhost_cmd_inject.rb",
  "occurred_at": null,
  "observed_at": "2026-11-12T15:24:51.477477Z",
  "is_backfill": true,
  "dedupe_key": "exploit/linux/http/librenms_addhost_cmd_inject",
  "detail": {
    "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/librenms_addhost_cmd_inject.rb",
    "kind": "msf_module",
    "path": "/modules/exploits/linux/http/librenms_addhost_cmd_inject.rb",
    "rank": 600,
    "check": false,
    "title": "LibreNMS addhost Command Injection",
    "cve_ids": [
      "CVE-2018-20434"
    ],
    "fullname": "exploit/linux/http/librenms_addhost_cmd_inject",
    "rank_name": "excellent",
    "confidence": "curated",
    "module_type": "exploit",
    "module_last_modified": "2025-06-23 12:43:46 +0000",
    "vuln_disclosure_date": "2018-12-16"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Échanges entre chercheurs

0 chercheur en a parlé ces 7 derniers jours

Publications sur X de chercheurs suivis par nday citant cette CVE, telles que publiées. nday ne les vérifie pas.

nday n’a encore recueilli aucune publication sur X d’un chercheur de sa liste citant cette CVE.

Discussion

0 comments

No comments yet.