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

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

                               ESB-2017.1128
       Advisory (ICSA-17-124-02): Dahua Technology Co., Ltd Digital
                      Video Recorders and IP Cameras
                                5 May 2017

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

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

Product:           Dahua Technology Co., Ltd DVRs and IP Cameras
Publisher:         ICS-CERT
Operating System:  Network Appliance
Impact/Access:     Increased Privileges -- Existing Account      
                   Reduced Security     -- Remote/Unauthenticated
Resolution:        Patch/Upgrade
CVE Names:         CVE-2017-7927 CVE-2017-7925 

Original Bulletin: 
   https://ics-cert.us-cert.gov/advisories/ICSA-17-124-02

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

Advisory (ICSA-17-124-02)

Dahua Technology Co., Ltd Digital Video Recorders and IP Cameras

Original release date: May 04, 2017


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/.

CVSS v3 9.8

ATTENTION: Remotely exploitable/low skill level to exploit. Public exploits
are available.

Vendor: Dahua Technology Co., Ltd

Equipment: Digital Video Recorders and IP Cameras

Vulnerabilities: Use of Password Hash Instead of Password for Authentication,
Password in Configuration File

AFFECTED PRODUCTS

The following Dahua Technology Co., Ltd (Dahua) network cameras are affected:

    DH-IPC-HDBW23A0RN-ZS,
    DH-IPC-HDBW13A0SN,
    DH-IPC-HDW1XXX,
    DH-IPC-HDW2XXX,
    DH-IPC-HDW4XXX,
    DH-IPC-HFW1XXX,
    DH-IPC-HFW2XXX,
    DH-IPC-HFW4XXX,
    DH-SD6CXX,
    DH-NVR1XXX,
    DH-HCVR4XXX, and
    DH-HCVR5XXX.

The following Dahua Digital Video Recorders (DVRs) are affected:

    DHI-HCVR51A04HE-S3,
    DHI-HCVR51A08HE-S3, and
    DHI-HCVR58A32S-S2.

IMPACT

Successful exploitation of these vulnerabilities could allow the attacker
to obtain user credentials, including password hashes, and use these
credentials to bypass authentication.

MITIGATION

Dahua has released updated firmware to mitigate these vulnerabilities.

Updated software can be obtained from Dahua technical support or an
authorized Dahua distributor.

In addition, Dahua released the following security notifications for users:

    Cyber Vulnerability Affecting Certain Dahua IP Cameras and Recorders
    (March 6) (link is external)
    Cybersecurity Statement - March 6, 2017 (link is external)
    Cybersecurity Vulnerability Update - March 8, 2017 (link is external)
    Cyber Vulnerability Affecting Certain Dahua IP Cameras and Recorders
    (April 3) (link is external)

Dahua's original notification specifies 11 affected models, but after
initial testing, Dahua has identified additional series and models in the
following security notification:

    Security Notification DHCC-201703-01 (link is external)

NCCIC/ICS-CERT recommends that users take defensive measures to minimize the
risk of exploitation of these vulnerabilities. Specifically, users should:

    Change default passwords immediately.
    Minimize network exposure for all control system devices and/or systems,
    and ensure that they are not accessible from the Internet.
    Locate control system networks and remote devices behind firewalls,
    and isolate them from the business network.
    When remote access is required, use secure methods, such as Virtual
    Private Networks (VPNs), recognizing that VPNs may have vulnerabilities
    and should be updated to the most current version available. Also
    recognize that VPN is only as secure as the connected devices.

ICS-CERT reminds organizations to perform proper impact analysis and risk
assessment prior to deploying defensive measures.

ICS-CERT 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 in the ICS-CERT Technical Information Paper,
ICS-TIP-12-146-01B--Targeted Cyber Intrusion Detection and Mitigation
Strategies, that is available for download from the ICS-CERT web site.

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

VULNERABILITY OVERVIEW

USE OF PASSWORD HASH INSTEAD OF PASSWORD FOR AUTHENTICATION CWE-836

The use of password hash instead of password for authentication vulnerability
was identified, which could allow a malicious user to bypass authentication
without obtaining the actual password.

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

PASSWORD IN CONFIGURATION FILE CWE-260

The password in configuration file vulnerability was identified, which
could lead to a malicious user assuming the identity of a privileged user
and gaining access to sensitive information.

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

RESEARCHER

Researcher Bashis disclosed these vulnerabilities without coordination
with ICS-CERT.

BACKGROUND

Critical Infrastructure Sector(s): Commercial Facilities, Critical
Manufacturing, Financial, Government Facilities, and Transportation Systems

Countries/Areas Deployed: Worldwide

Company Headquarters Location: China

Contact Information

For any questions related to this report, please contact ICS-CERT at:

Email: ics-cert@hq.dhs.gov (link sends e-mail)
Toll Free: 1-877-776-7585
International Callers: (208) 526-0900

For industrial control systems security information and incident reporting:
http://ics-cert.us-cert.gov

- --------------------------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:

        http://www.auscert.org.au/render.html?cid=1980

===========================================================================
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

iQIVAwUBWQwCjIx+lLeg9Ub1AQic6g//XsBhFH58rf3L+GCAVQ3iPQFdTI75DEnk
QC3bl/dAOxOtHQIsgtca5rpRg2dTrqUrhjUVTZudWT8PuPiwQVrWYb3uZKYdEYRK
PEWeJWLxUurPPcRQ+KsRj6scAsWzhxIOj+GWYh9qjmUBUQgCCQ9ahP0+dQc5FVCz
urVZG2qK6DIHqgbB4B7mqkimMRzA14yNKY45U50cQPEYq5h2+0vLtyYaoT0bvhdR
0yjY+4G7KPNqoaISbafOB1tlOML8iJlNwQBSKlpHlE0DtLalGCfzwoI15Il2W8c5
KuKe+8eHpb49GF+m1o++nsf36b6v5XNpOFl91mAjACCKoUuERXnmunqqke9v6ssS
tB2B0mxeSXsz52DadU0yDuCDUx+fX6/4l3BrMgLoYbRyxpg75UrYSPJ/fhbt7/xW
W0GL3Ug9aoB6lu6MDMAcNkIUug+0QTVcYSzZ5dkrSSeA3NY511yanpGW1wYZOQ54
BLKbJs4hDlu5Z6EGK5MKC1HSDysQBo62Tvp0ju/JkyxjK+Goul4Zf2f4+IMt3fue
qQhYZlr/e9+j8akfmtJ4gSsBQR+ItsTc6j+L9T5Gys+rAqnBt2aNSyJllxa7N/Au
SSo8uEiZda3PXe2y5FIbCjZpOy3LBPgV3WPqd/Rh68um68ESFKEnEVSPa9esC5aV
Ns92uEbJS0s=
=YcCx
-----END PGP SIGNATURE-----