{"id":"CVE-2020-35700","published":"2021-02-08T08:08:15Z","modified":"2024-08-04T17:09:15Z","title":"A second-order SQL injection issue in Widgets/TopDevicesController.php (aka the Top Devices dashboard widget) of…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.02369,"percentile":0.84223,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/librenms/librenms/blob/master/app/Http/Controllers/Widgets/TopDevicesController.php","tags":["x_refsource_MISC"]},{"url":"https://github.com/librenms/librenms/issues/12405","tags":["x_refsource_MISC"]},{"url":"https://www.horizon3.ai/disclosures/librenms-second-order-sqli","tags":["x_refsource_MISC"]},{"url":"https://github.com/librenms/librenms/pull/12422","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/librenms/librenms/releases/tag/21.1.0","tags":["x_refsource_CONFIRM"]}],"priority":{"score":16.8,"factors":[{"name":"EPSS percentile","points":16.84}]},"affected":[{"ecosystem":"Packagist","package":"librenms/librenms","vulnerableRanges":["<21.1.0"],"patched":["21.1.0"],"from":["GHSA-h59f-p56g-g75v"],"provenance":"source"}],"summary":{"text":"A second-order SQL injection flaw exists in the Top Devices dashboard widget (Widgets/TopDevicesController.php) of LibreNMS before 21.1.0. An authenticated remote attacker can execute arbitrary SQL commands by supplying a crafted sort_order parameter to the /ajax/form/widget-settings endpoint.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:33:15Z"},"euvd":{"id":"EUVD-2021-1095","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2018-20678","published":"2019-03-28","fixed":"1.65","kev":false},{"cve":"CVE-2020-15873","published":"2020-07-21","fixed":"1.65.1","kev":false},{"cve":"CVE-2020-15877","published":"2020-07-21","fixed":"1.65.1","kev":false},{"cve":"CVE-2020-35700","published":"2021-02-08","fixed":"21.1.0","kev":false},{"cve":"CVE-2021-31274","published":"2021-09-08","fixed":"21.3.0","kev":false,"link":{"from":"CVE-2020-35700","to":"CVE-2021-31274","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:librenms/librenms","fromFixed":"21.1.0","toFixed":"21.3.0","daysApart":212}]}},{"cve":"CVE-2021-43324","published":"2021-11-03","fixed":"21.11.0","kev":false},{"cve":"CVE-2022-0576","published":"2022-02-13","fixed":"22.1.0","kev":false}],"package":"Packagist:librenms/librenms"}}