LibreNMS: Remote Code Execution by Signal Alert Transportation Module
librenms
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| librenms/librenms Packagist |
|
|
Original description
LibreNMS is a network monitoring system. In versions from 21.6.0 up to 26.5.0, the Signal alert transport is vulnerable to command injection because the signal-cli path and the Recipient field of an alert transport entry are insufficiently escaped before being passed to an exec call. An authenticated administrator can craft a transport entry whose Recipient contains shell metacharacters and whose path points to the bundled composer_wrapper.php script, which itself passes attacker-controlled input to further unsafe exec calls. By chaining these calls, the administrator can execute arbitrary operating-system commands on the LibreNMS host. This issue is fixed in version 26.5.0.
From the CVE record · GitHub_M