Description
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.
Metrics
CVSS 3.1 8.8/10
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- https://github.com/librenms/librenms/blob/master/app/Http/Controllers/Widgets/TopDevicesController.phpThird Party Advisory
- https://github.com/librenms/librenms/issues/12405Third Party Advisory
- https://github.com/librenms/librenms/pull/12422Patch, Third Party Advisory
- https://github.com/librenms/librenms/releases/tag/21.1.0Release Notes, Third Party Advisory
- https://www.horizon3.ai/disclosures/librenms-second-order-sqliExploit, Third Party Advisory
- https://github.com/librenms/librenms/blob/master/app/Http/Controllers/Widgets/TopDevicesController.phpThird Party Advisory
- https://github.com/librenms/librenms/issues/12405Third Party Advisory
- https://github.com/librenms/librenms/pull/12422Patch, Third Party Advisory
- https://github.com/librenms/librenms/releases/tag/21.1.0Release Notes, Third Party Advisory
- https://www.horizon3.ai/disclosures/librenms-second-order-sqliExploit, Third Party Advisory
Timeline
- Published
- Feb 8, 2021
- Last modified
- Jun 17, 2026
- NVD status
- Modified