CVE-2019-10669

HIGH

LibreNMS < 1.47 - OS Command Injection via collectd.inc.php

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 2 public exploits for CVE-2019-10669. PoCs published by Metasploit, Eldar Marcussen, Shelby Pace, including Metasploit module exploits/linux/http/librenms_collectd_cmd_inject.

AI-analyzed exploit summary This Metasploit module exploits a command injection vulnerability in LibreNMS's Collectd graphing functionality by injecting payloads into the 'to' and 'from' parameters, which are improperly sanitized and executed via the `passthru()` function.

Description

An issue was discovered in LibreNMS through 1.47. There is a command injection vulnerability in html/includes/graphs/device/collectd.inc.php where user supplied parameters are filtered with the mysqli_escape_real_string function. This function is not the appropriate function to sanitize command arguments as it does not escape a number of command line syntax characters such as ` (backtick), allowing an attacker to inject commands into the variable $rrd_cmd, which gets executed via passthru().

Exploits (2)

exploitdb WORKING POC VERIFIED
by Metasploit · rubyremotelinux
https://www.exploit-db.com/exploits/47375

This Metasploit module exploits a command injection vulnerability in LibreNMS's Collectd graphing functionality by injecting payloads into the 'to' and 'from' parameters, which are improperly sanitized and executed via the `passthru()` function.

Classification
Working Poc 100%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: LibreNMS versions <= 1.50
Auth required
Prerequisites: Valid LibreNMS credentials · Access to a device with a Collectd plugin configured
devstral-2 · analyzed Feb 16, 2026 Full analysis →
metasploit WORKING POC EXCELLENT
by Eldar Marcussen, Shelby Pace · rubypocunix
https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/librenms_collectd_cmd_inject.rb

This Metasploit module exploits a command injection vulnerability in LibreNMS's Collectd graphing functionality by injecting payloads into the 'from' parameter, which is passed to a shell command via `passthru()`.

Classification
Working Poc 100%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: LibreNMS < 1.50
Auth required
Prerequisites: Valid LibreNMS credentials · Access to a device with Collectd plugin
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (2)

Core 2
Core References
Exploit, Third Party Advisory, VDB Entry x_refsource_misc
http://packetstormsecurity.com/files/154391/LibreNMS-Collectd-Command-Injection.html

Scores

CVSS v3 7.2
EPSS 0.5568
EPSS Percentile 98.1%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-78
Status published
Products (1)
librenms/librenms < 1.47
Published Sep 09, 2019
Tracked Since Feb 18, 2026