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

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

                               ESB-2019.4625
                 Advisory (icsa-19-344-02) Siemens SiNVR 3
                             11 December 2019

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

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

Product:           Siemens SiNVR 3
Publisher:         ICS-CERT
Operating System:  Network Appliance
Impact/Access:     Access Privileged Data -- Remote/Unauthenticated
                   Read-only Data Access  -- Remote/Unauthenticated
                   Unauthorised Access    -- Remote/Unauthenticated
Resolution:        Patch/Upgrade
CVE Names:         CVE-2019-18342 CVE-2019-18341 CVE-2019-18340
                   CVE-2019-18339 CVE-2019-18338 CVE-2019-18337
                   CVE-2019-13947  

Original Bulletin: 
   https://www.us-cert.gov/ics/advisories/icsa-19-344-02

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

ICS Advisory (ICSA-19-344-02)

Siemens SiNVR 3

Original release date: December 10, 2019

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 9.9
  o ATTENTION: Exploitable remotely/low skill level to exploit
  o Vendor: Siemens
  o Equipment: SiNVR 3
  o Vulnerabilities: Cleartext Storage of Sensitive Information in GUI,
    Improper Authentication, Relative Path Traversal, Missing Authentication
    for Critical Function, Weak Cryptography for Passwords, Exposed Dangerous
    Method or Function

2. RISK EVALUATION

Successful exploitation of these vulnerabilities could allow an attacker to
read (and reset) passwords of other SiNVR 3 CCS (Central Control Server) users,
read the CCS and SiNVR users database including the passwords of all users in
obfuscated cleartext, list arbitrary directories or read files outside of the
CCS application context, extract device configuration files and passwords from
the user database, read data from the EDIR directory, read or delete arbitrary
files, or access other resources on the same CCS server.

3. TECHNICAL DETAILS

3.1 AFFECTED PRODUCTS

The following versions of SiNVR 3, a video management solution, are affected:

  o SiNVR 3 Central Control Server (CCS): all versions
  o SiNVR 3 Video Server: all versions

3.2 VULNERABILITY OVERVIEW

3.2.1 CLEARTEXT STORAGE OF SENSITIVE INFORMATION IN GUI CWE-317

The user configuration menu in the web interface of the SiNVR 3 CCS transfers
user passwords in cleartext to the client (browser).

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

3.2.2 IMPROPER AUTHENTICATION CWE-287

The SiNVR 3 CCS contains an authentication bypass vulnerability in its
XML-based communication protocol as provided by default on specific ports.

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

3.2.3 RELATIVE PATH TRAVERSAL CWE-23

The SiNVR 3 CCS contains a directory traversal vulnerability in its XML-based
communication protocol as provided by default on specific ports.

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

3.2.4 MISSING AUTHENTICATION FOR CRITICAL FUNCTION CWE-306

The HTTP service (default specific port) of the SiNVR 3 Video Server contains
an authentication bypass vulnerability, even when properly configured with
enforced authentication.

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

3.2.5 WEAK CRYPTOGRAPHY FOR PASSWORDS CWE-261

Both the SiNVR 3 Video Server and the CCS store user and device passwords by
applying weak cryptography.

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

3.2.6 IMPROPER AUTHENTICATION CWE-287

The SFTP service (default specific port) of the SiNVR 3 CCS contains an
authentication bypass vulnerability.

CVE-2019-18341 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.7 EXPOSED DANGEROUS METHOD OR FUNCTION CWE-749

The SFTP service (default specific port) of the SiNVR 3 CCS does not properly
limit its capabilities to the specified purpose.

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

3.3 BACKGROUND

  o CRITICAL INFRASTRUCTURE SECTORS: Commercial Facilities
  o COUNTRIES/AREAS DEPLOYED: Worldwide
  o COMPANY HEADQUARTERS LOCATION: Germany

3.4 RESEARCHER

Raphael Rigo from Airbus Security Lab reported these vulnerabilities to
Siemens.

4. MITIGATIONS

Siemens has identified the following specific workarounds and mitigations users
can apply to reduce the risk:

  o General - Apply ACL/firewall configuration on the SiNVR Video and CCS
    servers to ensure only legitimate SiNVR systems can access the configured
    Video/CCS server ports. Harden all SiNVR systems accordingly to prevent
    unauthorized access. Consider applying encryption and authentication on the
    network (e.g., via TLS on application level or via IPSec on host level).
  o CVE-2019-18338, CVE-2019-18341, CVE-2019-18342: Limit the access of the CCS
    server application to other applications that are not part of it.
  o CVE-2019-18339: SiNVR deployments with active CCS should ensure that every
    SiNVR server and client has the Authorization Server set to "Control Center
    Server" (Configuration -> Appearance -> Desktop -> Authorization Server).
  o CVE-2019-18340: Harden the SiNVR Video servers and CCS server to prevent
    local access by unauthorized users.
  o CVE-2019-13947: Disable the web interface of CCS if not used.
    Alternatively, restrict access from localhost only, or only to trusted
    hosts of CCS administrators. Enable TLS for the web interface of CCS.

As a general security measure, Siemens strongly recommends protecting network
access to devices with appropriate mechanisms. In order to operate the devices
in a protected IT environment, Siemens recommends configuring the environment
according to Siemens' operational guidelines for industrial security and to
following the recommendations in the product manuals.

Additional information on industrial security by Siemens can be found at:

https://www.siemens.com/industrialsecurity

For more information on these vulnerabilities and more detailed mitigation
instructions, please see Siemens security advisory SSA-761617 at the following
location:

http://www.siemens.com/cert/advisories

CISA recommends users take defensive measures to minimize the risk of
exploitation of this vulnerability. Specifically, users should:

  o Minimize network exposure for all control system devices and/or systems,
    and ensure that they are not accessible from the Internet .
  o Locate control system networks and remote devices behind firewalls, and
    isolate them from the business network.
  o 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.

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

CISA also provides a section for control systems security recommended practices
on the ICS webpage on us-cert.gov . 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 webpage on us-cert.gov 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 CISA for tracking
and correlation against other incidents.

No known public exploits specifically target these vulnerabilities.

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

iQIVAwUBXfBw5GaOgq3Tt24GAQh2fw/+LsZSh8e5XYtVr8k3fnZEajSDM22LuIIT
TCz0keEVJJhZtmnAXuGznrPKDbjLxQ08WvoJEqugR9Epqig8WCUIl1raWnel9WPi
NEp3gJ0gb/hqNbAng+lJbZuk7bgFvJ7dVXGTMdDgHevSk9sle4Y8vAtf3t500RLv
iVhCyvJVE0EKYd4PnTQnge4I2NZ7kCJfz0eGP8R/D/AvCFR9iv72qWUW3gkKQtIt
3m1eN1szuDvyGPaP9MAlzxc9H6d5PC64bRgDCrHA9xn8cWApo7w2gbcb5GkymGqh
giNYm32VBy30ODI10/shPGwX7HPbV0NxWAOFvoYLCnJBVfzwXT48+hq3l+M954pE
GTItYURunG19Evdvq5XIjTWA9OFoNzMUTWJgbDnJK4hs0/fjIrj3rc5Q6qcwZJpb
kiw2Rh1HpPwPE6/QLcF0RKBhjv7rKipOkAPyqwO2RXRQl55ew8k8GbqVlH+2Hvr7
ifJpOcD9wBpi7Uiy5yEtG2cIUXH16Lu4JlAjO+y5lcq1RxcJAYyXEX2+R6JLU8DB
AI90Au4/6kzoC6utqQ9x0Ec+LnKc77Odj1OmZgRhD1aeju8fvq1Je9mbp3m7p5Vf
KtWPkh8ENK+zvOIeuDS194PUeWTtR/X/tdYvGbT8LOHY2nhWzJaV/5XKC5riR37l
XjYn4MvuoGk=
=DXQ7
-----END PGP SIGNATURE-----