Security
Headlines
HeadlinesLatestCVEs

Headline

CVE-2023-33675: Tenda-CVE/README.md at main · DDizzzy79/Tenda-CVE

Tenda AC8V4.0-V16.03.34.06 was discovered to contain a stack overflow via the time parameter in the get_parentControl_list_Info function.

CVE
#vulnerability#buffer_overflow

Vulnerability Description

A stack-based overflow vulnerability that can be triggered via the get_parentControl_list_Info function in the /bin/httpd file.

Affected version:

US_AC8V4.0si_V16.03.34.06

To download the firmware: https://www.tenda.com.cn/download/detail-3518.html

Exploition details:

This is a buffer overflow vulnerability in the function responsible for handling the time parameter within the get_parentControl_list_Info function. Upon receiving a POST request containing the time parameter, this function uses the strcpy function to copy the string from the time parameter into the buffer at p1 + 34. Since there is no input length restriction, if the input string’s length exceeds the size of the destination buffer, a stack overflow will occur. An attacker could exploit this vulnerability to execute arbitrary code on the target system.

To be clear, the difference between saveParentControlInfo and get_parentControl_list_Info is that we don’t cause crash in saveParentControlInfo, but we do it in get_parentControl_list_Info by exploiting the var3c:time parameter, however, in saveParentControlInfo, we use var3c:time only to bypass the compare_parentcontrol_time(p0)

Call chain : saveParentControlInfo -> saveParentControlInfo -> get_parentControl_list_Info

Result

This resulted a crash of the program, Verified locally Core dump is in the same dir

PoC :

In Additional information

CVE: Latest News

CVE-2023-50976: Transactions API Authorization by oleiman · Pull Request #14969 · redpanda-data/redpanda
CVE-2023-6905
CVE-2023-6903
CVE-2023-6904
CVE-2023-3907