Rapid7 Vulnerability & Exploit Database

Hikvision DVR RTSP Request Remote Code Execution

Back to Search

Hikvision DVR RTSP Request Remote Code Execution

Disclosed
11/19/2014
Created
05/30/2018

Description

This module exploits a buffer overflow in the RTSP request parsing code of Hikvision DVR appliances. The Hikvision DVR devices record video feeds of surveillance cameras and offer remote administration and playback of recorded footage. The vulnerability is present in several models / firmware versions but due to the available test device this module only supports the DS-7204 model.

Author(s)

  • Mark Schloesser <mark_schloesser@rapid7.com>

Platform

Linux

Architectures

armle

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

;