Rapid7 Vulnerability & Exploit Database

D-Link DCS-931L File Upload

Back to Search

D-Link DCS-931L File Upload

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

Description

This module exploits a file upload vulnerability in D-Link DCS-931L network cameras. The setFileUpload functionality allows authenticated users to upload files to anywhere on the file system, allowing system files to be overwritten, resulting in execution of arbitrary commands. This module has been tested successfully on a D-Link DCS-931L with firmware versions 1.01_B7 (2013-04-19) and 1.04_B1 (2014-04-21). D-Link DCS-930L, DCS-932L, DCS-933L models are also reportedly affected, but untested.

Author(s)

  • Mike Baucom
  • Allen Harper
  • J. Rach
  • bcoles <bcoles@gmail.com>

Platform

Linux

Development

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

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;