| 标题 | Tenda A18pro V02.03.02.28 Stack-based Buffer Overflow |
|---|
| 描述 | During 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). |
|---|
| 来源 | ⚠️ https://github.com/lilukun337/cve/issues/5 |
|---|
| 用户 | lilukun (UID 96162) |
|---|
| 提交 | 2026-03-06 07時20分 (7 月前) |
|---|
| 管理 | 2026-03-20 09時33分 (14 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 352019 [Tenda A18 Pro 02.03.02.28 MAC Filtering Configuration Endpoint /goform/setMacFilterCfg sub_423B50 deviceList 内存损坏] |
|---|
| 积分 | 20 |
|---|