module

D-Link HNAP Request Remote Buffer Overflow

Disclosed
2014-05-15
Created
2018-05-30

Description

This module exploits an anonymous remote code execution vulnerability on different
D-Link devices. The vulnerability is due to a stack based buffer overflow while
handling malicious HTTP POST requests addressed to the HNAP handler. This module
has been successfully tested on D-Link DIR-505 in an emulated environment.

Authors

Craig Heffner
Michael Messner devnull@s3cur1ty.de

Platform

Linux

Architectures

mipsbe

Module Options

To display the available options, load the module within the Metasploit console and run the commands ‘show options’ or ‘show advanced’:


msf > use exploit/linux/http/dlink_hnap_bof
msf exploit(dlink_hnap_bof) > show targets
...targets...
msf exploit(dlink_hnap_bof) > set TARGET < target-id >
msf exploit(dlink_hnap_bof) > show options
...show and set options...
msf exploit(dlink_hnap_bof) > exploit

Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.