10.0
HIGH CVSS 2.0
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 :

Nov. 21, 2024, 4:01 a.m.

Remotely Exploit :

Yes !
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
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 2.0 HIGH [email protected]
CVSS 3.0 CRITICAL [email protected]
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.

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)

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: 1 year, 8 months 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: 1 month ago
116 stars 23 fork 23 watcher
Born at : Jan. 20, 2021, 6:09 a.m. This repo has been linked 15 different CVEs too.

None

Updated: 1 month, 3 weeks ago
84 stars 31 fork 31 watcher
Born at : Oct. 2, 2020, 2:49 p.m. This repo has been linked 1114 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: 6 months, 1 week ago
9 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 year 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 af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference http://packetstormsecurity.com/files/153188/LibreNMS-addhost-Command-Injection.html
    Added Reference http://packetstormsecurity.com/files/153448/LibreNMS-1.46-addhost-Remote-Code-Execution.html
    Added Reference https://drive.google.com/file/d/1LcGmOY8x-TG-wnNr-cM_f854kxk0etva/view?usp=sharing
    Added Reference https://gist.github.com/mhaskar/516df57aafd8c6e3a1d70765075d372d
    Added Reference https://shells.systems/librenms-v1-46-remote-code-execution-cve-2018-20434/
  • 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.
Vulnerability Scoring Details
Base CVSS Score: 9.8
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Base CVSS Score: 10
Access Vector
Access Complexity
Authentication
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

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

66.99 }} -29.45%

score

0.98424

percentile