Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2019-12463

An issue was discovered in LibreNMS 1.50.1. The scripts that handle graphing options (includes/html/graphs/common.inc.php and includes/html/graphs/graphs.inc.php) do not sufficiently validate or encode several fields of user supplied input. Some parameters are filtered with mysqli_real_escape_string, which is only useful for preventing SQL injection attacks; other parameters are unfiltered. This allows an attacker to inject RRDtool syntax with newline characters via the html/graph.php and html/graph-realtime.php scripts. RRDtool syntax is quite versatile and an attacker could leverage this to perform a number of attacks, including disclosing directory structure and filenames, disclosing file content, denial of service, or writing arbitrary files. NOTE: relative to CVE-2019-10665, this requires authentication and the pathnames differ.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2019-12463
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 04:33 UTC · Revision 1

Source evidence

CVE-2019-12463

core-osv · Original source

Published 9 Sept 2019, 14:15 UTC

An issue was discovered in LibreNMS 1.50.1. The scripts that handle graphing options (includes/html/graphs/common.inc.php and includes/html/graphs/graphs.inc.php) do not sufficiently validate or encode several fields of user supplied input. Some parameters are filtered with mysqli_real_escape_string, which is only useful for preventing SQL injection attacks; other parameters are unfiltered. This allows an attacker to inject RRDtool syntax with newline characters via the html/graph.php and html/graph-realtime.php scripts. RRDtool syntax is quite versatile and an attacker could leverage this to perform a number of attacks, including disclosing directory structure and filenames, disclosing file content, denial of service, or writing arbitrary files. NOTE: relative to CVE-2019-10665, this requires authentication and the pathnames differ.

osv:CVE-2019-12463
Complete source record
{
  "id": "f7a75604a5fb9dc6a765dae33105db183678f4a801b9abe2076856b84a220290",
  "url": "https://osv.dev/vulnerability/CVE-2019-12463",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2019-12463",
    "summary": "An issue was discovered in LibreNMS 1.50.1. The scripts that handle graphing options (includes/html/graphs/common.inc.php and includes/html/graphs/graphs.inc.php) do not sufficiently validate or encode several fields of user supplied input. Some parameters are filtered with mysqli_real_escape_string, which is only useful for preventing SQL injection attacks; other parameters are unfiltered. This allows an attacker to inject RRDtool syntax with newline characters via the html/graph.php and html/graph-realtime.php scripts. RRDtool syntax is quite versatile and an attacker could leverage this to perform a number of attacks, including disclosing directory structure and filenames, disclosing file content, denial of service, or writing arbitrary files. NOTE: relative to CVE-2019-10665, this requires authentication and the pathnames differ.",
    "evidence": "osv:CVE-2019-12463",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2019-12463",
      "aliases": [
        "CVE-2019-12463",
        "GHSA-w5r2-gvgf-mpm8"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/librenms/librenms",
              "type": "GIT",
              "events": [
                {
                  "introduced": "f37e28a5f2f7a1bc90de534ff951afc89531c24d"
                },
                {
                  "fixed": "87a2231469ffff35dbd035f63bc24d5956c3e9b2"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:librenms:librenms:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.50.1"
                      },
                      {
                        "fixed": "1.53"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-12463.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:20.065964945Z",
      "provider": "osv",
      "references": [
        "https://www.darkmatter.ae/xen1thlabs/librenms-rrdtool-injection-vulnerability-xl-19-022/"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2019-12463",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 430173,
  "published_at": "2019-09-09T14:15:11.837+00:00"
}