9.8
CRITICAL
CVE-2018-20434
LibreNMS Command Injection Vulnerability
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.

INFO

Published Date :

April 24, 2019, 9:29 p.m.

Last Modified :

June 4, 2019, 11:29 p.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

3.9
Public PoC/Exploit Available at Github

CVE-2018-20434 has a 5 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2018-20434 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Librenms librenms
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2018-20434.

URL Resource
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 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

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Python

Updated: 9 months, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : Dec. 14, 2023, 4:10 p.m. This repo has been linked 3 different CVEs too.

None

Updated: 4 months, 2 weeks ago
110 stars 22 fork 22 watcher
Born at : Jan. 20, 2021, 6:09 a.m. This repo has been linked 15 different CVEs too.

None

Updated: 1 month, 2 weeks ago
82 stars 32 fork 32 watcher
Born at : Oct. 2, 2020, 2:49 p.m. This repo has been linked 1111 different CVEs too.

Security tool that can get all security vulnerability/search for a specific bug also it can search for tools/scripts. you can use many exploit websites like (db-exploit.com ,packetstormsecurity.com,securityfocus.com )

Python

Updated: 3 weeks, 6 days ago
8 stars 4 fork 4 watcher
Born at : July 4, 2019, 10:01 p.m. This repo has been linked 1 different CVEs too.

The official exploit code for LibreNMS v1.46 Remote Code Execution CVE-2018-20434

Python

Updated: 1 month, 2 weeks ago
9 stars 4 fork 4 watcher
Born at : April 25, 2019, 11:06 a.m. This repo has been linked 1 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2018-20434 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2018-20434 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Jun. 28, 2019

    Action Type Old Value New Value
    Added Reference http://packetstormsecurity.com/files/153448/LibreNMS-1.46-addhost-Remote-Code-Execution.html [No Types Assigned]
  • CVE Modified by [email protected]

    Jun. 04, 2019

    Action Type Old Value New Value
    Added Reference http://packetstormsecurity.com/files/153188/LibreNMS-addhost-Command-Injection.html [No Types Assigned]
  • Initial Analysis by [email protected]

    Apr. 30, 2019

    Action Type Old Value New Value
    Added CVSS V2 (AV:N/AC:L/Au:N/C:C/I:C/A:C)
    Added CVSS V3 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://shells.systems/librenms-v1-46-remote-code-execution-cve-2018-20434/ No Types Assigned https://shells.systems/librenms-v1-46-remote-code-execution-cve-2018-20434/ Exploit, Technical Description, Third Party Advisory
    Changed Reference Type https://drive.google.com/file/d/1LcGmOY8x-TG-wnNr-cM_f854kxk0etva/view?usp=sharing No Types Assigned https://drive.google.com/file/d/1LcGmOY8x-TG-wnNr-cM_f854kxk0etva/view?usp=sharing Permissions Required, Third Party Advisory
    Changed Reference Type https://gist.github.com/mhaskar/516df57aafd8c6e3a1d70765075d372d No Types Assigned https://gist.github.com/mhaskar/516df57aafd8c6e3a1d70765075d372d Exploit, Third Party Advisory
    Added CWE CWE-78
    Added CPE Configuration OR *cpe:2.3:a:librenms:librenms:1.46:*:*:*:*:*:*:*
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2018-20434 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

96.46 }} -0.20%

score

0.99624

percentile

CVSS30 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability