| Titre | Tenda A21 V1.0.0.0 Stack-based Buffer Overflow |
|---|
| Description | During a security review of the Tenda A21 router firmware (version V1.0.0.0), a critical stack-based buffer overflow vulnerability was identified in the MAC filtering configuration endpoint /goform/setBlackRule.
The vulnerability is triggered within the set_device_name function, which is called by the primary request handler formAddMacfilterRule. The function set_device_name takes the user-supplied devName and mac parameters and attempts to store the device information. Specifically, it uses the unsafe sprintf function to concatenate the dev_name string into a fixed-size stack buffer mib_vlaue (256 bytes). An attacker can provide an excessively long devName parameter to overflow this buffer, corrupt the stack, and gain control over the instruction pointer. |
|---|
| La source | ⚠️ https://github.com/QIU-DIE/cve-nneeww/issues/3 |
|---|
| Utilisateur | hhsw34 (UID 91076) |
|---|
| Soumission | 09/02/2026 12:41 (il y a 3 mois) |
|---|
| Modérer | 20/02/2026 15:41 (11 days later) |
|---|
| Statut | Accepté |
|---|
| Entrée VulDB | 347109 [Tenda A21 1.0.0.0 MAC Filtering Configuration Endpoint /goform/setBlackRule set_device_name devName/mac buffer overflow] |
|---|
| Points | 20 |
|---|