Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| librenms / librenms | affected >= 21.6.0, < 26.5.0 |
CWE
CWE-77
References
- https://github.com/librenms/librenms/security/advisories/GHSA-c9fv-cgmm-2wg7
- https://github.com/librenms/librenms/commit/868e3b966a
- https://github.com/librenms/librenms/releases/tag/26.5.0
ADP enrichment
No English description supplied.