Vulnerabilities > CVE-2014-4880 - Buffer Errors vulnerability in Hikvision DVR Ds-7204 Firmware 2.2.10

047910
CVSS 7.5 - HIGH
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
PARTIAL
Integrity impact
PARTIAL
Availability impact
PARTIAL
network
low complexity
hikvision
CWE-119
exploit available
metasploit

Summary

Buffer overflow in Hikvision DVR DS-7204 Firmware 2.2.10 build 131009, and other models and versions, allows remote attackers to execute arbitrary code via an RTSP PLAY request with a long Authorization header.

Vulnerable Configurations

Part Description Count
OS
Hikvision
1
Hardware
Hikvision
1

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Buffer Overflow via Environment Variables
    This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
  • Overflow Buffers
    Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
  • Client-side Injection-induced Buffer Overflow
    This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
  • Filter Failure through Buffer Overflow
    In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
  • MIME Conversion
    An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.

Exploit-Db

descriptionHikvision DVR RTSP Request Remote Code Execution. CVE-2014-4880. Remote exploit for linux platform
fileexploits/linux/remote/35356.rb
idEDB-ID:35356
last seen2016-02-04
modified2014-11-24
platformlinux
port554
published2014-11-24
reportermetasploit
sourcehttps://www.exploit-db.com/download/35356/
titleHikvision DVR RTSP Request Remote Code Execution
typeremote

Metasploit

descriptionThis 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.
idMSF:EXPLOIT/LINUX/MISC/HIKVISION_RTSP_BOF
last seen2020-06-10
modified2020-02-18
published2014-11-19
references
reporterRapid7
sourcehttps://github.com/rapid7/metasploit-framework/blob/master//modules/exploits/linux/misc/hikvision_rtsp_bof.rb
titleHikvision DVR RTSP Request Remote Code Execution

Packetstorm

data sourcehttps://packetstormsecurity.com/files/download/129187/hikvision_rtsp_bof.rb.txt
idPACKETSTORM:129187
last seen2016-12-05
published2014-11-20
reporterMark Schloesser
sourcehttps://packetstormsecurity.com/files/129187/Hikvision-DVR-RTSP-Request-Remote-Code-Execution.html
titleHikvision DVR RTSP Request Remote Code Execution