SQL Injection in Librenms
CVE-2020-35700
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.
Vulnerability class: SQL Injection
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.024, 84.1th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (nvn1729/advisories). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/librenms/librenms/blob/master/app/Http/Controllers/Widgets/TopDevice… (Third Party Advisory)
- github.com/librenms/librenms/issues/12405 (Third Party Advisory)
- www.horizon3.ai/disclosures/librenms-second-order-sqli (Exploit, Third Party Advisory)
- github.com/librenms/librenms/pull/12422 (Patch, Third Party Advisory)
- github.com/librenms/librenms/releases/tag/21.1.0 (Third Party Advisory, Release Notes)