{
    "CVE_data_meta": {
        "ASSIGNER": "zdi-disclosures@trendmicro.com",
        "ID": "CVE-2021-27249",
        "STATE": "PUBLIC"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "DAP-2020",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "v1.01rc001"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "D-Link"
                }
            ]
        }
    },
    "credit": "Anthony Schneiter & Jannis Kirschner from Team SUID (in alphabetical order)",
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DAP-2020 v1.01rc001 Wi-Fi access points. Authentication is not required to exploit this vulnerability. The specific flaw exists within the processing of CGI scripts. The issue results from the lack of proper validation of a user-supplied string before using it to execute a system call. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-11369."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "url": "https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10201",
                "refsource": "MISC",
                "name": "https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10201"
            },
            {
                "url": "https://www.zerodayinitiative.com/advisories/ZDI-21-204/",
                "refsource": "MISC",
                "name": "https://www.zerodayinitiative.com/advisories/ZDI-21-204/"
            }
        ]
    },
    "impact": {
        "cvss": {
            "vectorString": "CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.0"
        }
    }
}