exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

hik-connect.com / ezvizlife.com Authentication Bypass

hik-connect.com / ezvizlife.com Authentication Bypass
Posted Apr 26, 2018
Authored by Vangelis Stykas, George Lavdanis

A lack of validation on cookie values allows you to login as any user on hik-connect.com and ezvizlife.com.

tags | exploit, bypass
SHA-256 | 640d9d5b8ed635a745527703397776a5bb9f02ecdcb9b198beddb96116636e81

hik-connect.com / ezvizlife.com Authentication Bypass

Change Mirror Download
There is a full write up of this bug here: https://medium.com/@evstykas/hackvision-8f50924e56d <https://medium.com/@evstykas/hackvision-8f50924e56d>

Vulnerability Security Advisory < 20180424 >
=======================================================================
title: No validation on cookie values
product: hik-connect.com and ezvizlife.com
vulnerable version: latest
fixed version: fixed
CVE number: -
impact: critical
found: 2018-04-19
by: Vangelis Stykas & George Lavdanis

=======================================================================

Vendor description:
-------------------


Vulnerability overview/description:
-----------------------------------
1) No validation on cookie values

Both cloud services (hik-connect.com and ezvizlife.com) rely on cookie value AS_UserID to authenticate the user.Directly changing the value to another valid User id will result in hijacking that user session and be access its cameras/DVRS and change its password and/or email and phone.As the user id is not an incremental number but a hash we will need a way of finding out valid User ids.
In order to do that we can use the https://xxx.ezvizlife.com/friend/queryByMobile.json or endpoint AFTER making that user a friend and get his userId.
That endpoints has a GET parameter (mobile) that will check for a user with username, email or phone number.
After that changing the cookie value to his user id will result in having us logged in as that user.


Proof of concept:
-----------------
1) No validation on cookie values:

### Details
* Attack Vector: HTTP GET
* Prerequisites: None
* CWE: CWE-784: Reliance on Cookies without Validation and Integrity Checking in a Security Decision
* Technical Impact: Login as any user with no password required
* Vulnerable query URL: /
* Vulnerable Cookie parameter: AS_UserId






Vulnerable / tested versions:
-----------------------------
Http://www.hik-connect.com/ (and all geographically distributed servers)


Vendor contact timeline:
------------------------
2018-04-21: Sent initial report to Hikvision


Login or Register to add favorites

File Archive:

November 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Nov 1st
    30 Files
  • 2
    Nov 2nd
    0 Files
  • 3
    Nov 3rd
    0 Files
  • 4
    Nov 4th
    12 Files
  • 5
    Nov 5th
    44 Files
  • 6
    Nov 6th
    18 Files
  • 7
    Nov 7th
    9 Files
  • 8
    Nov 8th
    8 Files
  • 9
    Nov 9th
    3 Files
  • 10
    Nov 10th
    0 Files
  • 11
    Nov 11th
    14 Files
  • 12
    Nov 12th
    20 Files
  • 13
    Nov 13th
    63 Files
  • 14
    Nov 14th
    18 Files
  • 15
    Nov 15th
    8 Files
  • 16
    Nov 16th
    0 Files
  • 17
    Nov 17th
    0 Files
  • 18
    Nov 18th
    0 Files
  • 19
    Nov 19th
    0 Files
  • 20
    Nov 20th
    0 Files
  • 21
    Nov 21st
    0 Files
  • 22
    Nov 22nd
    0 Files
  • 23
    Nov 23rd
    0 Files
  • 24
    Nov 24th
    0 Files
  • 25
    Nov 25th
    0 Files
  • 26
    Nov 26th
    0 Files
  • 27
    Nov 27th
    0 Files
  • 28
    Nov 28th
    0 Files
  • 29
    Nov 29th
    0 Files
  • 30
    Nov 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close