Exploit database

Vulnerability

CVE-2018-20434

Vulnerability details

Score
9.8
Severity
critical

CVSS 3.0 · NVD

Vector string

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

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.

CVE Program

Exploit source choices

5 sources
LibreNMS addhost Command Injection
MSF-linux--http--librenms_addhost_cmd_injectMetasploitUnix / remote

This module exploits a command injection vulnerability in the open source network management software known as LibreNMS. The community parameter used in a POST request to the addhost functionality is unsanitized. This parameter is later used as part of a shell command that gets passed to the popen function in capture.inc.php, which can result in execution of arbitrary code. This module requires authentication to LibreNMS first.

2018-12-16librenms_addhost_cmd_inject.rb
ayadim/exploitbox
GH-958f68d550d927e184282e918d56511eGitHubUnofficial GitHub source

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 )

2019-07-043 files · 9 stars
mhaskar/cve-2018-20434
GH-3150177b49e0a2b6159aea5d6a716740GitHubUnofficial GitHub source

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

2019-04-252 files · 9 stars