-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                               ESB-2018.3066
        Advisory (ICSA-18-282-06) Hangzhou Xiongmai Technology Co.,
                        Ltd XMeye P2P Cloud Server
                              10 October 2018

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

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           Xiongmai XMeye P2P Cloud Server
Publisher:         ICS-CERT
Operating System:  Network Appliance
Impact/Access:     Access Privileged Data -- Remote/Unauthenticated
                   Unauthorised Access    -- Remote/Unauthenticated
Resolution:        Mitigation
CVE Names:         CVE-2018-17919 CVE-2018-17917 CVE-2018-17915

Original Bulletin: 
   https://ics-cert.us-cert.gov/advisories/ICSA-18-282-06

- --------------------------BEGIN INCLUDED TEXT--------------------

Advisory (ICSA-18-282-06)

Hangzhou Xiongmai Technology Co., Ltd XMeye P2P Cloud Server

Original release date: October 09, 2018

Legal Notice

All information products included in http://ics-cert.us-cert.gov are
provided "as is" for informational purposes only. The Department of Homeland
Security (DHS) does not provide any warranties of any kind regarding any
information contained within. DHS does not endorse any commercial product or
service, referenced in this product or otherwise. Further dissemination of
this product is governed by the Traffic Light Protocol (TLP) marking in the
header. For more information about TLP, see http://www.us-cert.gov/tlp/.

1. EXECUTIVE SUMMARY

  o CVSS v3 8.1
  o ATTENTION: Exploitable remotely/low skill level to exploit/information
    related to these vulnerabilities is publicly available
  o Vendor: Hangzhou Xiongmai Technology Co., Ltd
  o Equipment: XMeye P2P Cloud Server
  o Vulnerabilities: Predictable From Observable State, Hidden Functionality,
    Missing Encryption of Sensitive Data

2. RISK EVALUATION

Successful exploitation of these vulnerabilities could allow unauthorized
access to video feeds with the potential to modify settings, replace firmware,
and/or execute code.

3. TECHNICAL DETAILS

3.1 AFFECTED PRODUCTS

All products using XMeye P2P Cloud Server are affected. Hangzhou Xiongmai
Technology Co., Ltd acts primarily as an Original Equipment Manufacturer (OEM)
and sells few, if any, Xiongmai-branded products. Various vendors sell branded
devices with Hangzhou Xiongmai Technology Co., Ltd hardware/firmware inside.
Use the following methods to check the hardware/firmware:

  o Check if the product documentation/specifications mention the "XMEye"
    feature.
  o Access the err.htm page on the device (http://<Camera IP Address>/
    err.htm). Xiongmai or XMeye will be referenced.

3.2 VULNERABILITY OVERVIEW

3.2.1    PREDICTABLE FROM OBSERVABLE STATE CWE-341

An attacker may be able to use MAC addresses to enumerate potential Cloud IDs.
Using this ID, the attacker can discover and connect to valid devices using
one of the supported apps.

CVE-2018-17917 has been assigned to this vulnerability. A CVSS v3 base score
of 5.3 has been calculated; the CVSS vector string is (AV:N/AC:L/PR:N/UI:N/S:U
/C:L/I:N/A:N).

3.2.2    HIDDEN FUNCTIONALITY CWE-912

An attacker could use an undocumented user account "default" with its default
password to login to XMeye and access/view video streams.

CVE-2018-17919 has been assigned to this vulnerability. A CVSS v3 base score
of 6.5 has been calculated; the CVSS vector string is (AV:N/AC:L/PR:N/UI:N/S:U
/C:L/I:L/A:N).

3.2.3    MISSING ENCRYPTION OF SENSITIVE DATA CWE-311

Not all device communication is encrypted. This includes the XMeye service and
firmware update communication. This could allow an attacker to eavesdrop on
video feeds, steal XMeye login credentials, or impersonate the update server
with malicious update code.

CVE-2018-17915 has been assigned to this vulnerability. A CVSS v3 base score
of 8.1 has been calculated; the CVSS vector string is (AV:N/AC:H/PR:N/UI:N/S:U
/C:H/I:H/A:H).

3.3 BACKGROUND

  o CRITICAL INFRASTRUCTURE SECTORS: Multiple
  o COUNTRIES/AREAS DEPLOYED: Worldwide
  o COMPANY HEADQUARTERS LOCATION: China

3.4 RESEARCHER

Stefan Viehbock on behalf of SEC Consult Vulnerability Lab reported these
vulnerabilities to NCCIC.

4. MITIGATIONS

Hangzhou Xiongmai Technology Co., Ltd has not provided mitigations for these
vulnerabilities.

NCCIC recommends taking immediate action to change the admin account password
along with the undocumented "default" account password to minimize risk of
exploit.

NCCIC also recommends verifying the source of all firmware updates.

NCCIC reminds organizations to perform proper impact analysis and risk
assessment prior to deploying defensive measures.

NCCIC also provides a section for control systems security recommended
practices on the ICS-CERT web page. Several recommended practices are
available for reading and download, including Improving Industrial Control
Systems Cybersecurity with Defense-in-Depth Strategies.

Additional mitigation guidance and recommended practices are publicly
available on the ICS-CERT website in the Technical Information Paper,
ICS-TIP-12-146-01B--Targeted Cyber Intrusion Detection and Mitigation
Strategies.

Organizations observing any suspected malicious activity should follow their
established internal procedures and report their findings to NCCIC for
tracking and correlation against other incidents.

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        https://www.auscert.org.au/bulletins/

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQIVAwUBW72N6maOgq3Tt24GAQjhMw/8DYiArYcaEaQH7SOdg6vayqYFeNuKHzzf
zvrKW+RaPFzqbuGXd4VwpfHEgwhidqDOuBfZWJuDBUGPVdJxw2dVOQzHFdlKV9kx
Rrz8FPxzqxsAYGuSYBw2WYEfHsMk7doO40UDyWjeTi33Gi7+M/sMgdujyuJr7hYN
vxzURjkgslgCut0vf86dQNzQ+8DewMw6Ppg4e++4foycF8ge5AXvd0fUZMxGy2nz
nCujR75LdQ6Bf2LFTu0RItSwpJlkfxmDL66d8LGBeAgzgMqkip5c4su+/usWi+xp
D1uHTZqXp4OhglCsJmElFkph2Ka8ieqabM/fqj6/7pm3fX21yecRuYTPqCL5JKYc
yNc93byxrp291xlN3ZFKai50cuDZ6nsQOE7vpv5EBmz60SYEM2J2etMCqPVmh0xJ
Q3JILS9XRXQpOftghbXtdxzZXEJqRtlL4MIy0UaEEdTnfCjtACdgRQgTC/S4rWIu
tru8WVEEABW4D3OebV0Gn/Q0Yi/dVYRAYV9Act8UJYHX14pLah30tI3hmfW2C5cm
3kiN+hjXhJl+1VsABolkcc5h1osjlMxDCBktd05fq6ngr7JARm3FOm+OnF7OeeFP
PNT/rRdHNuTYned9xZQg4u5MMKFuFo5/1XdV1WEnsLLC5azV8jZUlFVhzJdBoOzX
Yr3bOLIgeco=
=7VjL
-----END PGP SIGNATURE-----