Command Injection Affecting librenms/librenms package, versions >=1.46


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Mature
EPSS
95.3% (100th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-LIBRENMSLIBRENMS-174522
  • published25 Apr 2019
  • disclosed24 Apr 2019
  • creditAskar

Introduced: 24 Apr 2019

CVE-2018-20434  (opens in a new tab)
CWE-77  (opens in a new tab)
First added by Snyk

How to fix?

There is no fixed version for librenms/librenms.

Overview

librenms/librenms is a fully featured network monitoring system that provides a wealth of features and device support.

Affected versions of this package are vulnerable to Command Injection. Attackers can execute arbitrary OS commands by making a request to the html/pages/addhost.inc.php using the $_POST['community'] parameter during creation of a new device, and then making a request to /ajax_output.php?id=capture&format=text&type=snmpwalk&hostname=localhost web page that will trigger html/includes/output/capture.inc.php command mishandling, resulting in executing of OS commands.

CVSS Scores

version 3.1