Stack-based buffer overflow in the do_hnap function in www/my_cgi.cgi in D-Link DSP-W215 (Rev. A1) with firmware 1.01b06 and earlier, DIR-505 with firmware before 1.08b10, and DIR-505L with firmware 1.01 and earlier allows remote attackers to execute arbitrary code via a long Content-Length header in a GetDeviceSettings action in an HNAP request.
| Software | From | Fixed in |
|---|---|---|
| dlink / dir505_shareport_mobile_companion_firmware | - | 1.07.x |
| dlink / dir505_shareport_mobile_companion | a1 | a1.x |
| dlink / dir505l_shareport_mobile_companion_firmware | - | 1.01.x |
| dlink / dir-505l_shareport_mobile_companion | a1 | a1.x |
| dlink / dsp-w215_firmware | - | 1.01.x |
| dlink / dsp-w215 | a1 | a1.x |