Vulnerabilities · 2020 · Librenms
CVE-2020-35700
Librenms vulnerability
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 products
Librenms. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Librenms runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/librenms/librenms/pull/12422 · Patch
- github.com/librenms/librenms/blob/master/app/Http/Controllers/Widgets/TopDevicesController · Third Party Advisory
- github.com/librenms/librenms/issues/12405 · Third Party Advisory
- github.com/librenms/librenms/releases/tag/21.1.0 · Third Party Advisory
- www.horizon3.ai/disclosures/librenms-second-order-sqli · Exploit
- nvd.nist.gov/vuln/detail/CVE-2020-35700
- cve.org/CVERecord?id=CVE-2020-35700
More vulnerabilities in Librenms products
CVE-2025-68614CVE-2025-65093CVE-2025-65014CVE-2025-65013CVE-2025-62412CVE-2025-62411CVE-2025-62365CVE-2025-55296All 94
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.