Exploit database

Vulnerability

CVE-2013-6955

Vulnerability details

Score
10.0
Severity
high

CVSS 2.0 · NVD

Vector string

AV:N/AC:L/Au:N/C:C/I:C/A:C

Description

webman/imageSelector.cgi in Synology DiskStation Manager (DSM) 4.0 before 4.0-2259, 4.2 before 4.2-3243, and 4.3 before 4.3-3810 Update 1 allows remote attackers to append data to arbitrary files, and consequently execute arbitrary code, via a pathname in the SLICEUPLOAD X-TMP-FILE HTTP header.

CVE Program

Exploit source choices

2 sources
Synology DiskStation Manager SLICEUPLOAD Remote Command Execution
MSF-linux--http--synology_dsm_sliceupload_exec_noauthMetasploitUnix / remote

This module exploits a vulnerability found in Synology DiskStation Manager (DSM) versions 4.x, which allows the execution of arbitrary commands under root privileges. The vulnerability is located in /webman/imageSelector.cgi, which allows to append arbitrary data to a given file using a so called SLICEUPLOAD functionality, which can be triggered by an unauthenticated user with a specially crafted HTTP request. This is exploited by this module to append the given commands to /redirect.cgi, which is a regular shell script file, and can be invoked with another HTTP request. Synology reported that the vulnerability has been fixed with versions 4.0-2259, 4.2-3243, and 4.3-3810 Update 1, respectively; the 4.1 branch remains vulnerable.

2013-10-31synology_dsm_sliceupload_exec_noauth.rb