Submit #389978: Linksys WRT54G v4.21.5 Buffer Overflowinfo

TitleLinksys WRT54G v4.21.5 Buffer Overflow
DescriptionThe Linksys WRT54G Firmware v4.21.5 has a stack overflow vulnerability in get_merge_ipaddr function. The variable wan_ipaddr_%dreceives the parameter from a POST request. In line 15, the stract function will merge it with the variable a2. It is important to note that in the calling function, the a2 variable is stack-allocated and has a size of only 24 characters. If the variable exceeds this length, it can result in a buffer overflow vulnerability, potentially leading to remote code execution or denial-of-service attacks. https://github.com/BuaaIOTTeam/Iot_Linksys/blob/main/Linksys_WRT54G_get_merge_ipaddr.md
Source⚠️ https://github.com/BuaaIOTTeam/Iot_Linksys/blob/main/Linksys_WRT54G_get_merge_ipaddr.md
User
 BuaaIoTTeam (UID 73348)
Submission08/13/2024 06:30 (2 years ago)
Moderation08/20/2024 20:04 (8 days later)
StatusDuplicate
VulDB entry26313 [Linksys WRT54G 3.01.3/3.03.6 Links apply.cgi memory corruption]
Points0

Do you want to use VulDB in your project?

Use the official API to access entries easily!