Submit #916259: D-Link Router DWR-M920 B2 V1.1.70 Command Injectioninfo

TitleD-Link Router DWR-M920 B2 V1.1.70 Command Injection
DescriptionA vulnerability was found in D-Link DWR-M920 V1.1.7. This vulnerability can be triggered through the route /boafrm/formPinManageSetup. The manipulation of the argument newPin leads to OS command injection. The sub_41E60C function retrieves the newPin parameter from the user request and passes it to sprintf without sanitization; the resulting string is passed to system(), allowing an authenticated attacker to execute arbitrary commands as root by closing the enclosing single quote (e.g. newPin=1';echo PWNED>/web/pwn.txt;'). Exploitation requires an authenticated session (webuicookie) and the operationName parameter set to setPin; newPin is limited to 33 bytes. The attack is possible remotely and may lead to full device compromise.
Source⚠️ https://github.com/H3rmesk1t/vulnerability-paper/issues/9
User
 H3rmesk1t (UID 70306)
Submission08/05/2026 17:25 (1 month ago)
Moderation09/13/2026 07:24 (1 month later)
StatusAccepted
VulDB entry403232 [D-Link DWR-M920 1.1.7 formPinManageSetup sub_41E60C newPin os command injection]
Points20

Want to stay up to date on a daily basis?

Enable the mail alert feature now!