{
    "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": [
            {
                "url": "https://github.com/librenms/librenms/blob/master/app/Http/Controllers/Widgets/TopDevicesController.php",
                "refsource": "MISC",
                "name": "https://github.com/librenms/librenms/blob/master/app/Http/Controllers/Widgets/TopDevicesController.php"
            },
            {
                "url": "https://github.com/librenms/librenms/issues/12405",
                "refsource": "MISC",
                "name": "https://github.com/librenms/librenms/issues/12405"
            },
            {
                "refsource": "MISC",
                "name": "https://www.horizon3.ai/disclosures/librenms-second-order-sqli",
                "url": "https://www.horizon3.ai/disclosures/librenms-second-order-sqli"
            },
            {
                "refsource": "CONFIRM",
                "name": "https://github.com/librenms/librenms/pull/12422",
                "url": "https://github.com/librenms/librenms/pull/12422"
            },
            {
                "refsource": "CONFIRM",
                "name": "https://github.com/librenms/librenms/releases/tag/21.1.0",
                "url": "https://github.com/librenms/librenms/releases/tag/21.1.0"
            }
        ]
    }
}