Skip to content

Latest commit

 

History

History
24 lines (14 loc) · 1.09 KB

formQosManageDouble_user.md

File metadata and controls

24 lines (14 loc) · 1.09 KB

Overview

Affected version

W9 V1.0.0.7(4456)

Vulnerability details

In the W9 V1.0.0.7(4456) firmware has a stack overflow vulnerability in the formQosManageDouble_auto function. The index variable receives the ssidIndex parameter from a POST request. However, since the user can control the input of ssidIndex, the statement sprintf(mib_prefix_wl2g, "wl2g.ssid%s.", index); can cause a buffer overflow. The user-provided ssidIndex can exceed the capacity of the mib_prefix_wl2g array, triggering this security vulnerability.

image-20240419163809839

image-20240419163755097

POC

data = {"ssid": "Radio1", "ssidIndex": payload}
response = requests.post(url, data=data)

image-20240419162115799