Description
Many Hikvision IP cameras contain improper authentication logic which allows unauthenticated impersonation of any configured user account. The vulnerability has been present in Hikvision products since 2014. In addition to Hikvision-branded devices, it affects many white-labeled camera products sold under a variety of brand names.
Hundreds of thousands of vulnerable devices are still exposed to the Internet at the time of publishing (shodan search: '"App-webs" "200 OK"'). Some of these devices can never be patched due to to the vendor preventing users from upgrading the installed firmware on the affected device.
This module utilizes the bug in the authentication logic to perform an unauthenticated password change of any user account on a vulnerable Hikvision IP Camera. This can then be utilized to gain full administrative access to the affected device.
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 auxiliary/admin/http/hikvision_unauth_pwd_reset_cve_2017_7921msf undefined(hikvision_unauth_pwd_reset_cve_2017_7921) > show actions ...actions...msf undefined(hikvision_unauth_pwd_reset_cve_2017_7921) > set ACTION < action-name >msf undefined(hikvision_unauth_pwd_reset_cve_2017_7921) > show options ...show and set options...msf undefined(hikvision_unauth_pwd_reset_cve_2017_7921) > runPrioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub