Remote code execution in Hikvision Cameras



Published: 2017-04-06 | Updated: 2023-05-11
Risk Critical
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2017-5638
CWE-ID CWE-94
Exploitation vector Network
Public exploit This vulnerability is being exploited in the wild.
Vulnerable software
Subscribe
iVMS-5200
Hardware solutions / Firmware

Vendor Hikvision

Security Bulletin

This security bulletin contains one critical risk vulnerability.

1) Code injection

EUVDB-ID: #VU5930

Risk: Critical

CVSSv3.1: 9.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H/E:H/RL:O/RC:C]

CVE-ID: CVE-2017-5638

CWE-ID: CWE-94 - Improper Control of Generation of Code ('Code Injection')

Exploit availability: Yes

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to input validation error in the Jakarta based file upload Multipart parser when processing Content-Type HTTP header. A remote attacker can send a specially crafted HTTP POST request containing malicious Content-Type header and execute arbitrary code on the target system with privileges of the Apache Struts user.

Successful exploitation of this vulnerability may allow an attacker to compromise vulnerable system.

Note: this vulnerability is being actively exploited in the wild.

Mitigation

Install update from vendor's website.

Vulnerable software versions

iVMS-5200: 3.3.4

External links

http://www.hikvision.com/en/Press-Release-details_435_i1492.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

Yes. This vulnerability is being exploited in the wild.



###SIDEBAR###