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

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

                               ESB-2019.2015
                        Geutebruck G-Cam and G-Code
                                5 June 2019

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

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

Product:           Geutebruck G-Cam and G-Code
Publisher:         ICS-CERT
Operating System:  Network Appliance
Impact/Access:     Root Compromise      -- Existing Account            
                   Cross-site Scripting -- Remote with User Interaction
Resolution:        Patch/Upgrade
CVE Names:         CVE-2019-10958 CVE-2019-10957 CVE-2019-10956

Original Bulletin: 
   https://ics-cert.us-cert.gov/advisories/ICSA-19-155-03

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

Advisory (ICSA-19-155-03)

Geutebruck G-Cam and G-Code

Original release date: June 04, 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 7.2
  o ATTENTION: Exploitable remotely/low skill level to exploit
  o Vendor: Geutebruck
  o Equipment: G-Cam and G-Code
  o Vulnerabilities: Cross-site Scripting, OS Command Injection

2. RISK EVALUATION

Successful exploitation of these vulnerabilities could allow remote code
execution as root and remote code execution in the browser of the IP camera
operator.

3. TECHNICAL DETAILS

3.1 AFFECTED PRODUCTS

Geutebruck reports that the vulnerabilities affect the following Encoder and E2
Series Camera versions and models:

  o G-Code: All versions 1.12.0.25 and prior
       EEC-2xxx
  o G-Cam: All versions 1.12.0.25 and prior
       EBC-21xx
       EFD-22xx
       ETHC-22xx
       EWPC-22xx

3.2 VULNERABILITY OVERVIEW

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

A cross-site scripting vulnerability allows a remote authenticated attacker
with access to event configuration to store malicious code on the server, which
could later be triggered by a legitimate user resulting in code execution
within the user's browser.

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

3.2.2 IMPROPER NEUTRALIZATION OF SPECIAL ELEMENTS USED IN AN OS COMMAND ('OS
COMMAND INJECTION') CWE-78

Using a specially crafted URL command, a remote authenticated user can execute
commands as root.

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

3.2.3 IMPROPER NEUTRALIZATION OF SPECIAL ELEMENTS USED IN AN OS COMMAND ('OS
COMMAND INJECTION') CWE-78

User input is not properly validated, which could allow a remote authenticated
attacker with access to network configuration to supply system commands to the
server, leading to remote code execution as root.

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

3.3 BACKGROUND

  o CRITICAL INFRASTRUCTURE SECTORS: Commercial Facilities, Energy, Financial
    Services, Government Facilities, Healthcare and Public Health,
    Transportation Systems
  o COUNTRIES/AREAS DEPLOYED: Worldwide
  o COMPANY HEADQUARTERS LOCATION: Germany

3.4 RESEARCHER

Romain Luyer and Guillaume Gronnier from CEIS, and Davy Douhine from RandoriSec
reported these vulnerabilities to NCCIC.

4. MITIGATIONS

Geutebruck recommends users upgrade to the latest firmware, Version 1.12.13.2
or later. This can be found at the following link:

https://www.geutebrueck.com/en_EN/login.html (Login Required)

Geutebruck has also released a security advisory that can be found at the
following link:

https://portal.geutebrueck.com/ (Login Required)

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

  o Ensure the system is configured using least privilege.
  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.

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.

NCCIC also recommends that users take the following measures to protect
themselves from social engineering attacks:

  o Do not click web links or open unsolicited attachments in email messages.
  o Refer to Recognizing and Avoiding Email Scams for more information on
    avoiding email scams.
  o Refer to Avoiding Social Engineering and Phishing Attacks for more
    information on social engineering attacks.

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

iQIVAwUBXPcwFGaOgq3Tt24GAQie6xAAxHrPnjglp4+cSGtuh83X+26qNP1Yv/fi
mPwPAkhov9+GYbadWK6EXFgixww9xz4nVMO2j6qOAa8ocutyfDDYgfjnn/Tv4y4z
+08EOatgtffHVJdc2ttAw6wr7pOjKhIGTloMyloaxPOkuKn89/A84/R8kQBMweoM
tZdHScmW/nraEZnwCDonhxkAxJ43VfSbh6/0CsgV4NT/sqQVTz6Qiv1fLua0z1Qr
DQ212WfC/1tdhl3LIK91IT8ZGeYnIW66jo2dfXw65QR2xGKc1XcEDbvYwhZQHxmY
w+hh20Vtj7fAj7XpPtcH+NeaEYqKj/zm6jiIgm7889lmJPBYgN4mfLY1wy+Keeul
UrTdV+hNXVVPXRrtiMw1ylo+p4fkQP6nRi8XGhYw/VstiIwNmOu2naGuGzSYnmv4
DMQiEMJXCU9I0iwFm3N+OvyuijX6fc5XMfY9lzpgDWNciep3ufNQY49T+Mhzw5dV
4z2i9ycN6lDtPj7A+IZYCe0CpIljnZ8oP6rzkIBVUCvMK2l6ptwlVa2dpV7FAzGJ
Iy0f6byahz1cZNz7NfqSvKRXzGaqSsxvUQUWGqMzG0db/0VCGnLvrND2+0TWldY/
mzBqITpJUle3HujSS6rQaKE8ChvceOCyWt6JPF0+CxRCu4lwHQ1u15ySc/ITvEUo
TaIQ0Nkijvs=
=+aq+
-----END PGP SIGNATURE-----