D-Link DCS-5605 Network Surveillance DcsCliCtrl.dll ActiveX Control SelectDirectory() Method Buffer Overflow

High Nessus Plugin ID 58591


The remote Windows host has an ActiveX control that is affected by a buffer overflow vulnerability.


The remote host has the D-Link DCS-5605 Network Surveillance DcsCliCtrl.dll ActiveX control installed. This control fails to properly parse data supplied to the 'SelectDirectory()' function due to an unsafe call to 'lstrcpyW()', which can lead to a stack buffer overflow.

By tricking a user into opening a specially crafted web page, a remote, unauthenticated attacker could execute arbitrary code on the remote host subject to the user's privileges.


Remove or disable the control as fixes are not available.

See Also


Plugin Details

Severity: High

ID: 58591

File Name: dlink_dcs5605_activex_bof.nasl

Version: $Revision: 1.4 $

Type: local

Agent: windows

Family: Windows

Published: 2012/04/04

Modified: 2017/05/16

Dependencies: 13855

Risk Information

Risk Factor: High


Base Score: 9.3

Temporal Score: 8.4

Vector: CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C

Temporal Vector: CVSS2#E:F/RL:W/RC:ND

Vulnerability Information

Required KB Items: SMB/Registry/Enumerated, SMB/WindowsVersion

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2012/03/28

Vulnerability Publication Date: 2012/03/28

Reference Information

CVE: CVE-2012-5306

BID: 52769

OSVDB: 80663

EDB-ID: 18673