Rapid7’s 2026 Global Cybersecurity Summit is now available on-demand.Watch sessions.
Rapid7

module

D-Link DCS-931L File Upload

Disclosed
Feb 23, 2015
Created
May 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.

Authors

Mike Baucom
Allen Harper
J. Rach
bcoles [email protected]

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_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

Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.