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.
{
"extracted_events": [
{
"cpe": "cpe:2.3:a:librenms:librenms:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "21.1.0"
}
],
"source": "CPE_RANGE"
},
{
"original_tag": "21.1.0",
"range": [
{
"fixed": "58a740cf818494c06f4f3fe90ecccb58e08f0ffd"
}
],
"source": "REFERENCES_TAG"
}
]
}