{
    "data_version": "4.0",
    "data_type": "CVE",
    "data_format": "MITRE",
    "CVE_data_meta": {
        "ID": "CVE-2023-32142",
        "ASSIGNER": "zdi-disclosures@trendmicro.com",
        "STATE": "PUBLIC"
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "D-Link DAP-1360 webproc var:page Stack-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DAP-1360 routers. Authentication is not required to exploit this vulnerability.\n\nThe specific flaw exists within the handling of requests to the /cgi-bin/webproc endpoint. When parsing the var:page parameter, the process does not properly validate the length of user-supplied data prior to copying it to a fixed-length stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of root.\n. Was ZDI-CAN-18422."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-121: Stack-based Buffer Overflow",
                        "cweId": "CWE-121"
                    }
                ]
            }
        ]
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "D-Link",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "DAP-1360",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "=",
                                            "version_value": "6.14B01 EU HOTFIX"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "references": {
        "reference_data": [
            {
                "url": "https://www.zerodayinitiative.com/advisories/ZDI-23-534/",
                "refsource": "MISC",
                "name": "https://www.zerodayinitiative.com/advisories/ZDI-23-534/"
            },
            {
                "url": "https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10324",
                "refsource": "MISC",
                "name": "https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10324"
            }
        ]
    },
    "source": {
        "lang": "en",
        "value": "Anonymous"
    },
    "impact": {
        "cvss": [
            {
                "version": "3.0",
                "vectorString": "CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
                "baseScore": 8.8,
                "baseSeverity": "HIGH"
            }
        ]
    }
}