module

D-Link Devices HNAP SOAPAction-Header Command Execution

Disclosed
02/13/2015
Created
05/30/2018

Description

Different D-Link Routers are vulnerable to OS command injection in the HNAP SOAP
interface. Since it is a blind OS command injection vulnerability, there is no
output for the executed command. This module has been tested on a DIR-645 device.
The following devices are also reported as affected: DAP-1522 revB, DAP-1650 revB,
DIR-880L, DIR-865L, DIR-860L revA, DIR-860L revB DIR-815 revB, DIR-300 revB,
DIR-600 revB, DIR-645, TEW-751DR, TEW-733GR

Authors

Samuel HuntleyCraig HeffnerMichael Messner

Platform

Linux

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_header_exec_noauth
    msf /(h) > show actions
        ...actions...
    msf /(h) > set ACTION < action-name >
    msf /(h) > show options
        ...show and set options...
    msf /(h) > run
  
Title
NEW

Explore Exposure Command

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