{
    "data_version": "4.0",
    "data_type": "CVE",
    "data_format": "MITRE",
    "CVE_data_meta": {
        "ID": "CVE-2024-5035",
        "ASSIGNER": "research@onekey.com",
        "STATE": "PUBLIC"
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "The affected device expose a network service called \"rftest\" that is vulnerable to unauthenticated command injection on ports TCP/8888, TCP/8889, and TCP/8890.\u00a0By successfully exploiting this flaw, remote unauthenticated attacker can gain arbitrary command execution on the device with\u00a0elevated privileges.This issue affects Archer C4500X: through 1_1.1.6."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-77 Improper Neutralization of Special Elements used in a Command ('Command Injection')",
                        "cweId": "CWE-77"
                    }
                ]
            }
        ]
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "TP-Link",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "Archer C4500X",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "<=",
                                            "version_name": "0",
                                            "version_value": "1_1.1.6"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "references": {
        "reference_data": [
            {
                "url": "https://onekey.com/blog/security-advisory-remote-command-execution-on-tp-link-archer-c5400x/",
                "refsource": "MISC",
                "name": "https://onekey.com/blog/security-advisory-remote-command-execution-on-tp-link-archer-c5400x/"
            },
            {
                "url": "https://www.tp-link.com/en/support/download/archer-c5400x/#Firmware",
                "refsource": "MISC",
                "name": "https://www.tp-link.com/en/support/download/archer-c5400x/#Firmware"
            }
        ]
    },
    "generator": {
        "engine": "Vulnogram 0.2.0"
    },
    "source": {
        "discovery": "UNKNOWN"
    },
    "configuration": [
        {
            "lang": "en",
            "supportingMedia": [
                {
                    "base64": false,
                    "type": "text/html",
                    "value": "According to TP-Link, the rftest binary is only started in manufacturing mode."
                }
            ],
            "value": "According to TP-Link, the rftest binary is only started in manufacturing mode."
        }
    ],
    "work_around": [
        {
            "lang": "en",
            "supportingMedia": [
                {
                    "base64": false,
                    "type": "text/html",
                    "value": "Limit exposure of ports TCP/8888, TCP/8889, and TCP/9000 works as an interim fix."
                }
            ],
            "value": "Limit exposure of ports TCP/8888, TCP/8889, and TCP/9000 works as an interim fix."
        }
    ],
    "solution": [
        {
            "lang": "en",
            "supportingMedia": [
                {
                    "base64": false,
                    "type": "text/html",
                    "value": "Upgrade to firmware version 1_1.1.7."
                }
            ],
            "value": "Upgrade to firmware version 1_1.1.7."
        }
    ],
    "credits": [
        {
            "lang": "en",
            "value": "Quentin Kaiser from ONEKEY Research Labs"
        }
    ]
}