CVE-2018-20434
LibreNMS arbitrary OS commands execution
Öffentlicher Exploit-Code
Für diese Schwachstelle wurde funktionierender Exploit- oder Proof-of-Concept-Code veröffentlicht. Betrachte ungepatchte Systeme als gefährdet.
- LibreNMS 1.46 - 'addhost' Remote Code Execution2019-06-28 · webapps · php · Verifiziert
- LibreNMS - addhost Command Injection (Metasploit)2019-06-05 · remote · linux · Verifiziert
Auswirkung
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.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden, hohes Risiko, dass Daten oder Systeme verändert werden, hohes Risiko für Ausfälle.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| composer | librenms/librenms | = 1.46 | nicht erfasst |
Betroffene Produkte · Librenms
| Produkt | Betroffene Versionen |
|---|---|
| Librenms | Version 1.46 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- http://packetstormsecurity.com/files/153188/LibreNMS-addhost-Command-Injection.html
- http://packetstormsecurity.com/files/153448/LibreNMS-1.46-addhost-Remote-Code-Execution.html
- 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/
- https://github.com/advisories/GHSA-62q7-qj6g-gvr7
- https://nvd.nist.gov/vuln/detail/CVE-2018-20434
- https://shells.systems/librenms-v1-46-remote-code-execution-cve-2018-20434