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

    Threat Intelligence

    Exploit Maturity
    Proof of concept
    EPSS
    0.3% (70th 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 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

CVSS Scores

version 3.1
Expand this section

Snyk

6.5 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    Required
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    None
  • Availability (A)
    None
Expand this section

NVD

9.8 critical