{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2024-5227",
        "assignerOrgId": "99f1926a-a320-47d8-bbb5-42feb611262e",
        "state": "PUBLISHED",
        "assignerShortName": "zdi",
        "dateReserved": "2024-05-22T20:15:04.846Z",
        "datePublished": "2024-05-23T21:55:48.347Z",
        "dateUpdated": "2024-09-03T16:05:33.661Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "99f1926a-a320-47d8-bbb5-42feb611262e",
                "shortName": "zdi",
                "dateUpdated": "2024-05-23T21:55:48.347Z"
            },
            "title": "TP-Link Omada ER605 PPTP VPN username Command Injection Remote Code Execution Vulnerability",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "TP-Link Omada ER605 PPTP VPN username Command Injection Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of TP-Link Omada ER605 routers. Authentication is not required to exploit this vulnerability. However, devices are only vulnerable if configured to use a PPTP VPN with LDAP authentication.\n\nThe specific flaw exists within the handling of the username parameter provided to the /usr/bin/pppd endpoint. 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-22446."
                }
            ],
            "affected": [
                {
                    "vendor": "TP-Link",
                    "product": "Omada ER605",
                    "versions": [
                        {
                            "version": "2.6_2.2.2 Build 20231017",
                            "status": "affected"
                        }
                    ],
                    "defaultStatus": "unknown"
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "cweId": "CWE-78",
                            "description": "CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://www.zerodayinitiative.com/advisories/ZDI-24-499/",
                    "name": "ZDI-24-499",
                    "tags": [
                        "x_research-advisory"
                    ]
                }
            ],
            "dateAssigned": "2024-05-22T15:15:04.891-05:00",
            "datePublic": "2024-05-23T08:57:02.519-05:00",
            "source": {
                "lang": "en",
                "value": "Chris Anastasio @mufinnnnnnn"
            },
            "metrics": [
                {
                    "format": "CVSS",
                    "cvssV3_0": {
                        "version": "3.0",
                        "vectorString": "CVSS:3.0/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
                        "baseScore": 7.5,
                        "baseSeverity": "HIGH"
                    }
                }
            ]
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-01T21:03:10.983Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://www.zerodayinitiative.com/advisories/ZDI-24-499/",
                        "name": "ZDI-24-499",
                        "tags": [
                            "x_research-advisory",
                            "x_transferred"
                        ]
                    }
                ]
            },
            {
                "affected": [
                    {
                        "vendor": "tp-link",
                        "product": "omada_er605_firmware",
                        "cpes": [
                            "cpe:2.3:o:tp-link:omada_er605_firmware:2.6_2.2.2build20231017:*:*:*:*:*:*:*"
                        ],
                        "defaultStatus": "unknown",
                        "versions": [
                            {
                                "version": "2.6_2.2.2build20231017",
                                "status": "affected"
                            }
                        ]
                    }
                ],
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2024-08-05T19:15:43.971772Z",
                                "id": "CVE-2024-5227",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "total"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2024-09-03T16:05:33.661Z"
                }
            }
        ]
    }
}