| Título | Tenda A18pro V02.03.02.28 Stack-based Buffer Overflow |
|---|
| Descripción | 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). |
|---|
| Fuente | ⚠️ https://github.com/lilukun337/cve/issues/5 |
|---|
| Usuario | lilukun (UID 96162) |
|---|
| Sumisión | 2026-03-06 07:20 (hace 1 mes) |
|---|
| Moderación | 2026-03-20 09:33 (14 days later) |
|---|
| Estado | Aceptado |
|---|
| Entrada de VulDB | 352019 [Tenda A18 Pro 02.03.02.28 MAC Filtering Configuration Endpoint /goform/setMacFilterCfg sub_423B50 deviceList desbordamiento de búfer] |
|---|
| Puntos | 20 |
|---|