CVE-2020-35700 json
SQL Injection in librenms
published 2021-02-08 5 y ago modified 2026-06-17 4 mo ago also GHSA-h59f-p56g-g75v , EUVD-2021-1095
- cvss
- 8.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.4%
- EPSS 2.4% chance of exploitation in 30 days, percentile 83%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- packagist librenms/librenms 21.1.0
- librenms librenms 21.1.0
- github.com/librenms/librenms#12422 pull request
- github.com/librenms/librenms/releases/tag/21.1.0 release
Exploit prediction
2.37% chance of exploitation in the next 30 days, higher than 83% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- horizon3.ai https://www.horizon3.ai/disclosures/librenms-second-order-sqli referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
| GitHub | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | librenms/librenms | <21.1.0 |
21.1.0 |
Classification
- Weakness
-
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
References
-
github.com
/librenms/librenms/pull/12422
web, patch, third-party-advisory
-
horizon3.ai
/disclosures/librenms-second-order-sqli
web, exploit, third-party-advisory
-
github.com
/librenms/librenms/blob/master/app/Http/Controllers/Widgets/TopDevicesController.php
web, third-party-advisory
-
github.com
/librenms/librenms/issues/12405
web, third-party-advisory
-
github.com
/librenms/librenms/releases/tag/21.1.0
web, release-notes, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-35700
advisory
Sources
- CVE List CVE-2020-35700
- GitHub Advisory GHSA-h59f-p56g-g75v
- NVD CVE-2020-35700
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.