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

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

                               ESB-2021.1240
      Advisory (icsa-21-103-10) Siemens and PKE Control Center Server
                               14 April 2021

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

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

Product:           Siemens and PKE Control Center Server
Publisher:         ICS-CERT
Operating System:  Network Appliance
Impact/Access:     Execute Arbitrary Code/Commands -- Remote with User Interaction
                   Access Privileged Data          -- Remote with User Interaction
                   Modify Arbitrary Files          -- Existing Account            
                   Cross-site Scripting            -- Remote with User Interaction
                   Unauthorised Access             -- Remote/Unauthenticated      
                   Reduced Security                -- Existing Account            
Resolution:        Patch/Upgrade
CVE Names:         CVE-2019-19295 CVE-2019-19294 CVE-2019-19293
                   CVE-2019-19292 CVE-2019-19291 CVE-2019-19290
                   CVE-2019-18342 CVE-2019-18341 CVE-2019-18340
                   CVE-2019-18338 CVE-2019-18337 CVE-2019-13947

Reference:         ESB-2019.4625

Original Bulletin: 
   https://us-cert.cisa.gov/ics/advisories/icsa-21-103-10

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

ICS Advisory (ICSA-21-103-10)

Siemens and PKE Control Center Server

Original release date: April 13, 2021

Legal Notice

All information products included in https://us-cert.cisa.gov/ics 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 https://us-cert.cisa.gov/tlp/ .



1. EXECUTIVE SUMMARY

  o CVSS v3 9.9
  o ATTENTION: Exploitable remotely/low attack complexity
  o Vendors: Siemens/PKE
  o Equipment: Control Center Server (CCS)
  o Vulnerabilities: Cleartext Storage of Sensitive Information in GUI,
    Improper Authentication, Relative Path Traversal, Use of a Broken or Risky
    Cryptographic Algorithm, Exposed Dangerous Method or Function, Path
    Traversal, Cleartext Storage in a File or on Disk, SQL Injection,
    Cross-site Scripting, Insufficient Logging

2. RISK EVALUATION

Successful exploitation of these vulnerabilities may allow an attacker to read
and write arbitrary files and sensitive data and execute commands and arbitrary
code.

3. TECHNICAL DETAILS

3.1 AFFECTED PRODUCTS

The following versions of CCS, a video management platform, are affected:

  o CCS: All versions prior to v1.5.0
  o CCS: v1.5.0 and later are affected by CVE-2019-18340

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 CCS transfers user
passwords in clear 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

CCS contains an authentication bypass vulnerability in its XML-based
communication protocol as provided by default on Ports 5444/TCP and 5440/TCP.

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

CCS contains a directory traversal vulnerability in its XML-based communication
protocol as provided by default on Ports 5444/TCP and 5440/TCP.

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 USE OF A BROKEN OR RISKY CRYPTOGRAPHIC ALGORITHM CWE-327

CCS stores 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.5 IMPROPER AUTHENTICATION CWE-287

The SFTP service (default Port 22/TCP) of 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.6 EXPOSED DANGEROUS METHOD OR FUNCTION CWE-749

The SFTP service (default Port 22/TCP) of 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.2.7 IMPROPER LIMITATION OF A PATHNAME TO A RESTRICTED DIRECTORY ('PATH
TRAVERSAL') CWE-22

A specific section in the web interface of CCS contains a path traversal
vulnerability that could allow an authenticated remote attacker to access and
download arbitrary files from the server where CCS is installed.

CVE-2019-19290 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:L/UI:N/S:U/
C:H/I:N/A:N ).

3.2.8 CLEARTEXT STORAGE IN A FILE OR ON DISK CWE-313

The FTP services of CCS maintain log files that store login credentials in
cleartext. In configurations where the FTP service is enabled, authenticated
remote attackers could extract login credentials of other users of the service.

CVE-2019-19291 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:H/PR:L/UI:N/S:U/
C:H/I:N/A:N ).

3.2.9 IMPROPER NEUTRALIZATION OF SPECIAL ELEMENTS USED IN AN SQL COMMAND ('SQL
INJECTION') CWE-89

CCS is vulnerable to an SQL injection in its XML-based communication protocol
as provided by default on Ports 5444/TCP and 5440/TCP. An authenticated remote
attacker could exploit this vulnerability to read or modify the CCS database
and potentially execute administrative database operations or operating system
commands.

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

3.2.10 IMPROPER NEUTRALIZATION OF INPUT DURING WEB PAGE GENERATION ('CROSS-SITE
SCRIPTING') CWE-79

The web interface of CCS contains a reflected cross-site scripting (XSS)
vulnerability that could allow an unauthenticated remote attacker to steal
sensitive data or execute administrative actions on behalf of a legitimate
administrator of the CCS web interface.

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

3.2.11 IMPROPER NEUTRALIZATION OF INPUT DURING WEB PAGE GENERATION ('CROSS-SITE
SCRIPTING') CWE-79

The web interface of CCS contains multiple stored XSS vulnerabilities in
several input fields. This could allow an authenticated remote attacker to
inject malicious JavaScript code into the CCS web application that is later
executed in the browser context of any other user who views the relevant CCS
web content.

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

3.2.12 INSUFFICIENT LOGGING CWE-778

CCS does not enforce logging of security-relevant activities in its XML-based
communication protocol as provided by default on Ports 5444/TCP and 5440/TCP.
An authenticated remote attacker could exploit this vulnerability to perform
covert actions not visible in the application log.

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

3.3 BACKGROUND

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

3.4 RESEARCHER

Raphael Rigo of Airbus Security Lab reported some of these vulnerabilities to
Siemens.

4. MITIGATIONS

Siemens recommends users update to v1.5.0 or later .

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

  o General (applies to all vulnerabilities listed in this advisory) - Apply
    ACL/firewall configuration on the CCS server to ensure that only legitimate
    systems can access the configured CCS server ports. Harden the CCS server
    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 Harden the CCS server to prevent local access by unauthorized users.
  o 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.
  o Disable the FTP service of the CCS.

As a general security measure Siemens strongly recommends protecting network
access to affected products with appropriate mechanisms. It is advised to
follow recommended security practices to run the devices in a protected IT
environment.

For more information see SSA-761844

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

  o Monitor traffic on Ports 5444/TCP and 5440/TCP.
  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 VPNs may have vulnerabilities and should be
    updated to the most current version available. Also recognize VPN is only
    as secure as its 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.cisa.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.cisa.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.

For any questions related to this report, please contact the CISA at:

Email: CISAservicedesk@cisa.dhs.gov
Toll Free: 1-888-282-0870

CISA continuously strives to improve its products and services. You can help by
choosing one of the links below to provide feedback about this product.

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

iQIVAwUBYHZO1uNLKJtyKPYoAQh3Xg//WBpf8gvEd2fFeZ2T6QvFvcwsEkIjShI1
6NF+kic8SDSuu4UL4rSUp1LylM2zjjjO9sVQy02W3CNMlA/6IDRJ+nnj1OOuzEBi
jBm9s2HaELT09OlHH/Gp+Sk+I1vOB2EglBsOCLPd7/MXWpyCKIsiPB4KYJF5BuPw
MTv526btgpVYD9z6jbLs8ouRBckSC3AGDOVyJom8H2RK6UtexRSFEBpQrVrLq7HS
Y1UUOm3eGk3RDwHzbXjJn7Jr1H3hgH8ZW7eD4Vych6tOYBifekAp37zPRuZh0ViT
TaE7dPizmihK8NuUrEbPjYqUJF1xOzGaJ6J7ePusGbUSlqcIa3iSptMzpcL4jTZE
QZ4MKDtvoYCC0Y5sIg6GE9hjEBf/EkgmlKqjXUSIqdw839F3nhO9f58EZjph2fQM
UiXQqM5I2IYsG/ZcCvNlCabvUgr7qYZamwbC4ZjIJxslNVOsXO2CJB3imSorCZJc
bhg1mApMzptxnMw8rw1MlOdWF2QkhyZ3vHcPEVuIhS4jLmi9jW93CLNAzrwzvTn6
vanPntmRpcjSkph6ljqdXhf4VvxfleKvbTYq5pKfg1iqJaDxVd6p17uj4gEl1RyR
JZqLPnINY1DZ95gM2gnktos0CMTzJO+/5V1Jj3QDbQjdgrMv382JZw9XTrnOOfKj
X/V/F5hPPbU=
=GPDm
-----END PGP SIGNATURE-----