{"id":"CVE-2020-35700","state":"PUBLISHED","title":"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 exe","description":"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.","publishedAt":"2021-02-08T08:08:15.000Z","updatedAt":"2024-08-04T17:09:15.121Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://github.com/librenms/librenms/blob/master/app/Http/Controllers/Widgets/TopDevicesController.php","https://github.com/librenms/librenms/issues/12405","https://www.horizon3.ai/disclosures/librenms-second-order-sqli","https://github.com/librenms/librenms/pull/12422","https://github.com/librenms/librenms/releases/tag/21.1.0"],"weaknesses":[],"ingestedAt":"2026-10-29T19:47:21.880Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2020/35xxx/CVE-2020-35700.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2020-35700","state":"PUBLISHED","datePublished":"2021-02-08T08:08:15.000Z","dateUpdated":"2024-08-04T17:09:15.121Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2020-12-24T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"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"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2021-02-08T08:08:15.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2020-35700","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://github.com/librenms/librenms/blob/master/app/Http/Controllers/Widgets/TopDevicesController.php","refsource":"MISC","url":"https://github.com/librenms/librenms/blob/master/app/Http/Controllers/Widgets/TopDevicesController.php"},{"name":"https://github.com/librenms/librenms/issues/12405","refsource":"MISC","url":"https://github.com/librenms/librenms/issues/12405"},{"name":"https://www.horizon3.ai/disclosures/librenms-second-order-sqli","refsource":"MISC","url":"https://www.horizon3.ai/disclosures/librenms-second-order-sqli"},{"name":"https://github.com/librenms/librenms/pull/12422","refsource":"CONFIRM","url":"https://github.com/librenms/librenms/pull/12422"},{"name":"https://github.com/librenms/librenms/releases/tag/21.1.0","refsource":"CONFIRM","url":"https://github.com/librenms/librenms/releases/tag/21.1.0"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/librenms/librenms/blob/master/app/Http/Controllers/Widgets/TopDevicesController.php","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/librenms/librenms/issues/12405","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://www.horizon3.ai/disclosures/librenms-second-order-sqli","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/librenms/librenms/pull/12422","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/librenms/librenms/releases/tag/21.1.0","tags":["x_refsource_CONFIRM","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T17:09:15.121Z"}}]}}}