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


0.0
medium

Snyk CVSS

    Attack Complexity Low
    User Interaction Required
    Confidentiality High

    Threat Intelligence

    Exploit Maturity Proof of concept
    EPSS 0.3% (70th percentile)
Expand this section
NVD
9.8 critical

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 ID SNYK-PHP-LIBRENMSLIBRENMS-466430
  • published 9 Sep 2019
  • disclosed 9 Sep 2019
  • credit Eldar Marcussen

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-12463