module

D-Link authentication.cgi Buffer Overflow

Disclosed
2013-02-08
Created
2018-05-30

Description

This module exploits a remote buffer overflow vulnerability on several D-Link routers.
The vulnerability exists in the handling of HTTP queries to the authentication.cgi with
long password values. The vulnerability can be exploitable without authentication. This
module has been tested successfully on D-Link firmware DIR645A1_FW103B11. Other firmwares
such as the DIR865LA1_FW101b06 and DIR845LA1_FW100b20 are also vulnerable.

Authors

Roberto Paleari
Craig Heffner
Michael Messner devnull@s3cur1ty.de

Platform

Linux

Architectures

mipsle

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_authentication_cgi_bof
msf exploit(dlink_authentication_cgi_bof) > show targets
...targets...
msf exploit(dlink_authentication_cgi_bof) > set TARGET < target-id >
msf exploit(dlink_authentication_cgi_bof) > show options
...show and set options...
msf exploit(dlink_authentication_cgi_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.