cbcvebase.
CVE-2015-2049
published 2015-02-23

CVE-2015-2049: Unrestricted file upload vulnerability in D-Link DCS-931L with firmware 1.04 and earlier allows remote authenticated users to execute arbitrary code by…

PriorityP274critical9CVSS 2.0
AVNACLAuSCCICAC
EXPLOIT
EPSS
66.67%
99.2th percentile
Unrestricted file upload vulnerability in D-Link DCS-931L with firmware 1.04 and earlier allows remote authenticated users to execute arbitrary code by uploading a file with an executable extension.

Affected

1 ranges
VendorProductVersion rangeFixed in
dlinkdcs-931l_firmware<= 1.04

Detection & IOCsextracted from sources · hover to see the quote

urluploadfile.htm
urlsetFileUpload
urlsetSystemAdmin
path/tmp/.<random_alphanumeric>
path/sbin/chpasswd.sh
command#!/bin/sh <payload_path>&
  • Detect HTTP POST requests to the 'setFileUpload' endpoint on D-Link DCS-931L cameras, especially with multipart/form-data content type, which indicates an attempted arbitrary file upload exploit.
  • Detect HTTP POST requests to 'setSystemAdmin' endpoint immediately following file uploads to '/sbin/chpasswd.sh', as this is the trigger mechanism used to execute the uploaded payload.
  • Alert on HTTP 200 responses from D-Link DCS-931L containing the string 'File had been uploaded' in the response body, which confirms successful exploitation.
  • Monitor for access to 'uploadfile.htm' on D-Link camera web interfaces; a 200 response with body containing 'Upload File' confirms the device is vulnerable.
  • Detect WWW-Authenticate headers matching the realm 'DCS-931L' on network traffic to identify targeted devices during reconnaissance.
  • Monitor for creation of hidden files (dot-prefixed filenames) under /tmp/ on Linux MIPS embedded devices, which is the payload staging location used by this exploit.
  • Alert on HTTP User-Agent or process patterns matching 'alphapd', the web server process on D-Link DCS-931L cameras, to identify targeted devices.
  • ·The exploit requires valid credentials (authenticated access); default credentials (username: 'admin', password: blank) are used by the Metasploit module, so devices with default credentials are at highest risk.
  • ·The exploit targets Linux MIPS little-endian (mipsle) architecture payloads; detection and response tooling must account for this embedded platform architecture.
  • ·Firmware versions 1.01_B7 (2013-04-19) and 1.04_B1 (2014-04-21) are confirmed vulnerable; D-Link DCS-930L, DCS-932L, and DCS-933L are reportedly affected but untested.
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.