LibreNMS
LibreNMS: Remote Code Execution by Signal Alert Transportation Module
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 21.6.0, < 26.5.0
Fixed in 26.5.0
Mitigation
Upgrade librenms to 26.5.0 or later.
References
- Vendor advisory github.com/librenms/librenms/security/advisori…
- Patch github.com/librenms/librenms/commit/868e3b966a
- Release notes github.com/librenms/librenms/releases/tag/26.5…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.