Submit #423157: Tenda A18 router V15.13.07.13 Stack-based Buffer Overflowinfo

TitleTenda A18 router V15.13.07.13 Stack-based Buffer Overflow
DescriptionIn the Tenda A18V1.0 firmware version V15.13.07.13, there is a stack overflow vulnerability located in the fromSetWirelessRepeat function. The variable wpapsk_cryptoa receives the wpapsk_crypto5g parameter passed through a POST request and passes it along with set_repeat5 function. Within the set_repeat5 function, the wpapsk_cryptovalue array has a fixed size of 16 bytes. However, since the user can control the input of the wpapsk_crypto5g parameter, using strcpy to copy wpapsk_crypto5g into wpapsk_cryptovalue can lead to a buffer overflow if the input exceeds the 16-byte limit. To trigger the code execution part related to this vulnerability, the variable configured5g needs to be set to the string "true", and configured2_4g needs to be set to a string that is not "true".
Source⚠️ https://gitee.com/GXB0_0/iot-vul/blob/master/Tenda/A18/fromSetWirelessRepeat_cryptoa.md
User
 GuoXB (UID 76104)
Submission10/13/2024 16:23 (2 years ago)
Moderation10/21/2024 11:09 (8 days later)
StatusDuplicate
VulDB entry256999 [Tenda AC18 15.13.07.09 fromSetWirelessRepeat wpapsk_crypto5g stack-based overflow]
Points0

Do you want to use VulDB in your project?

Use the official API to access entries easily!