Submit #773727: Tenda A18pro V02.03.02.28 Stack-based Buffer Overflowinfo

TitleTenda A18pro V02.03.02.28 Stack-based Buffer Overflow
DescriptionDuring a security review of the Tenda A18pro router firmware (version V02.03.02.28), a critical stack-based buffer overflow vulnerability was identified in the MAC filtering configuration endpoint /goform/setMacFilterCfg. The vulnerability resides in the sub_423B50 function (responsible for parsing MAC filter rules). This function is triggered when a user submits a configuration request via the deviceList parameter. The function uses strchr to locate a carriage return character (\r, ASCII 13) within the user-provided string. Once found, it employs the unsafe strcpy function to copy the split substrings into a fixed-size stack buffer v15 (160 bytes). Since the length of the input strings is not validated before the copy operation, an attacker can provide a specially crafted long string to overwrite the stack frame, including the return address, leading to a Denial of Service (DoS) or potential Remote Code Execution (RCE).
Source⚠️ https://github.com/lilukun337/cve/issues/5
User
 lilukun (UID 96162)
Submission03/06/2026 07:20 (1 month ago)
Moderation03/20/2026 09:33 (14 days later)
StatusAccepted
VulDB entry352019 [Tenda A18 Pro 02.03.02.28 MAC Filtering Configuration Endpoint /goform/setMacFilterCfg sub_423B50 deviceList stack-based overflow]
Points20

Do you need the next level of professionalism?

Upgrade your account now!