Description (CNA)
A second-order SQL injection issue in Widgets/TopDevicesController.php (aka the Top Devices dashboard widget) of LibreNMS before 21.1.0 allows remote authenticated attackers to execute arbitrary SQL commands via the sort_order parameter against the /ajax/form/widget-settings endpoint.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| n/a / n/a | affected n/a |
CWE
No CWE identifiers supplied.
References
- https://github.com/librenms/librenms/blob/master/app/Http/Controllers/Widgets/TopDevicesController.php
- https://github.com/librenms/librenms/issues/12405
- https://www.horizon3.ai/disclosures/librenms-second-order-sqli
- https://github.com/librenms/librenms/pull/12422
- https://github.com/librenms/librenms/releases/tag/21.1.0
ADP enrichment
No English description supplied.
- https://github.com/librenms/librenms/blob/master/app/Http/Controllers/Widgets/TopDevicesController.php
- https://github.com/librenms/librenms/issues/12405
- https://www.horizon3.ai/disclosures/librenms-second-order-sqli
- https://github.com/librenms/librenms/pull/12422
- https://github.com/librenms/librenms/releases/tag/21.1.0