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.
References
Link | Resource |
---|---|
https://www.horizon3.ai/disclosures/librenms-second-order-sqli | Exploit Third Party Advisory |
https://github.com/librenms/librenms/pull/12422 | Patch Third Party Advisory |
https://github.com/librenms/librenms/issues/12405 | Third Party Advisory |
https://github.com/librenms/librenms/blob/master/app/Http/Controllers/Widgets/TopDevicesController.php | Third Party Advisory |
https://github.com/librenms/librenms/releases/tag/21.1.0 | Release Notes Third Party Advisory |
Configurations
Information
Published : 2021-02-08 01:15
Updated : 2021-02-09 10:42
NVD link : CVE-2020-35700
Mitre link : CVE-2020-35700
JSON object : View
CWE
CWE-89
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Products Affected
librenms
- librenms