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

TitelTenda A18 router V15.13.07.13 Stack-based Buffer Overflow
BeschreibungIn 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".
Quelle⚠️ https://gitee.com/GXB0_0/iot-vul/blob/master/Tenda/A18/fromSetWirelessRepeat_cryptoa.md
Benutzer
 GuoXB (UID 76104)
Einreichung13.10.2024 16:23 (vor 2 Jahren)
Moderieren21.10.2024 11:09 (8 days later)
StatusDuplikat
VulDB Eintrag256999 [Tenda AC18 15.13.07.09 fromSetWirelessRepeat wpapsk_crypto5g Pufferüberlauf]
Punkte0

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!