librenms
cpe:2.3:a:librenms:librenms:*:*:*:*:*:*:*
- 24.10.1
A stored cross-site scripting vulnerability has been identified in LibreNMS versions prior to 24.10.1. The issue resides in the 'Description' parameter of the '/ajax_form.php' endpoint, allowing remote attackers to inject malicious scripts. When the injected script is viewed or interacted with, it executes immediately, potentially leading to unauthorized actions or data exposure. This vulnerability has been patched in LibreNMS version 24.11.0.
Exploitation of this vulnerability allows for the execution of injected scripts, potentially leading to unauthorized actions or data exposure.
To reproduce this vulnerability, add a new device through the LibreNMS interface. After the device is created, edit it and navigate to the 'ports' section. In the 'Description' field, enter a payload that includes a script injection, such as an image tag with an 'onerror' event. Save the changes, and the injected script will execute when accessing the 'ports' tab or hovering over the modified 'Port' field value.
Users are advised to upgrade to LibreNMS version 24.11.0.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.