Insufficient Input Validation Affecting librenms/librenms package, versions <1.53


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.09% (41st 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 Insufficient Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-LIBRENMSLIBRENMS-6056536
  • published9 Sept 2019
  • disclosed9 Sept 2019
  • creditEldar Marcussen

Introduced: 9 Sep 2019

CVE-2019-12463  (opens in a new tab)
CWE-284  (opens in a new tab)
First added by Snyk

How to fix?

Upgrade librenms/librenms to version 1.53 or higher.

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 Insufficient Input Validation. It is possible to inject syntax to the RRDtool used by LibreNMS to draw graphs. This could lead to information disclosure, denial of service, remote code execution and arbitrary file writes under certain conditions.

PoC by Eldar Marcussen

$ curl "http://host/graph.php?device=&type=device_ber&from=1&graph_title=1'%0a%0acd+.. %0als%0a'&to=2&width=50&height=300&debug=1"

NOTE: This vulnerability has also been identified as: CVE-2019-10665

CVSS Scores

version 3.1