Stack-based Buffer Overflow Remote Code Execution Vulnerability
CVE-2024-5242
7.5HIGH
What is CVE-2024-5242?
The TP-Link Omada ER605 routers are susceptible to a stack-based buffer overflow vulnerability that allows remote code execution by network-adjacent attackers. This flaw occurs within the device's handling of Dynamic Domain Name System (DDNS) error codes, stemming from inadequate validation of user-supplied data length before copying it to a fixed-length buffer. When attackers exploit this vulnerability, they gain the ability to execute arbitrary code with root privileges, provided that the devices are configured to use the Comexe DDNS service.