No fixed version published. Check the advisory or remove the package.
The advisory lists this package without version ranges.
No fixed version listed yet.Check the vendor advisory. References ↓
The flaw is an OS command injection in LibreNMS 1.46, where the $_POST['community'] parameter handled by html/pages/addhost.inc.php is not sanitised when a new device is created. The injected input is later executed when html/includes/output/capture.inc.php mishandles the command during a subsequent ajax_output.php snmpwalk capture request.
LibreNMS 1.46 allows remote attackers to execute arbitrary OS commands by using the $_POST['community'] parameter to html/pages/addhost.inc.php during creation of a new device, and then making a /ajax_output.php?id=capture&format=text&type=snmpwalk&hostname=localhost request that triggers html/includes/output/capture.inc.php command mishandling.
Public exploit code (Metasploit) was available 4 months before disclosure.
1 package in 1 ecosystem. Main package: librenms/librenms.
No fixed version published. Check the advisory or remove the package.
The advisory lists this package without version ranges.