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

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

                               ESB-2023.1791
         ICS Advisory (ICSA-23-082-03) SAUTER EY-modulo 5 Building
                            Automation Stations
                               24 March 2023

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

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

Product:           EY-modulo 5 Building Automation Stations
Publisher:         ICS-CERT
Operating System:  Network Appliance
Resolution:        Mitigation
CVE Names:         CVE-2023-28655 CVE-2023-28652 CVE-2023-28650
                   CVE-2023-27927 CVE-2023-22300 

Original Bulletin: 
   https://www.cisa.gov/news-events/ics-advisories/icsa-23-082-03

Comment: CVSS (Max):  8.8 CVE-2023-28650 (CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H)
         CVSS Source: ICS-CERT
         Calculator:  https://www.first.org/cvss/calculator/3.0#CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

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

ICS Advisory (ICSA-23-082-03)

SAUTER EY-modulo 5 Building Automation Stations

Release Date
March 23, 2023

1. EXECUTIVE SUMMARY

  o CVSS v3 8.8
  o ATTENTION: Exploitable remotely/low attack complexity
  o Vendor: SAUTER
  o Equipment: EY-modulo 5 Building Automation Stations
  o Vulnerabilities: Cross-site Scripting, Cleartext Transmission of Sensitive
    Information, and Unrestricted Upload of File with Dangerous Type

2. RISK EVALUATION

Successful exploitation of these vulnerabilities could lead to privilege
escalation, unauthorized execution of actions, a denial-of-service condition,
or retrieval of sensitive information.

3. TECHNICAL DETAILS

3.1 AFFECTED PRODUCTS

SAUTER reports these vulnerabilities affect the following EY-modulo 5 Building
Automation Stations:

  o EY-AS525F001 with moduWeb

3.2 VULNERABILITY OVERVIEW

3.2.1 CROSS-SITE SCRIPTING CWE-79

An unauthenticated remote attacker could provide a malicious link and trick an
unsuspecting user into clicking on it. If clicked, the attacker could execute
the malicious JavaScript (JS) payload in the target's security context.

CVE-2023-28650 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:N/UI:R/S:U/
C:H/I:H/A:H ).

3.2.2 CROSS-SITE SCRIPTING CWE-79

A malicious user could leverage this vulnerability to escalate privileges or
perform unauthorized actions in the context of the targeted privileged users.

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

3.2.3 CROSS-SITE SCRIPTING CWE-79

An unauthenticated remote attacker could force all authenticated users, such as
administrative users, to perform unauthorized actions by viewing the logs. This
action would also grant the attacker privilege escalation.

CVE-2023-22300 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:N/UI:R/S:U/
C:H/I:H/A:H ).

3.2.4 CLEARTEXT TRANSMISSION OF SENSITIVE INFORMATION CWE-319

An authenticated malicious user could acquire the simple mail transfer protocol
(SMTP) Password in cleartext format, despite it being protected and hidden
behind asterisks. The attacker could then perform further attacks using the
SMTP credentials.

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

3.2.5 UNRESTRICTED UPLOAD OF FILE WITH DANGEROUS TYPE CWE-434

An authenticated malicious user could successfully upload a malicious image
could lead to a denial-of-service condition.

CVE-2023-28652 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:N/I:N/A:H ).

3.3 BACKGROUND

  o CRITICAL INFRASTRUCTURE SECTORS: Critical Manufacturing, Energy
  o COUNTRIES/AREAS DEPLOYED: Worldwide
  o COMPANY HEADQUARTERS LOCATION: Switzerland

3.4 RESEARCHER

Ithaca Labs of Odyssey Cyber Security reported this vulnerability to CISA.

4. MITIGATIONS

According to SAUTER, the EY-modulo 5 Building Automation Stations product line
does not support encryption on its communication protocols. As such, it is not
appropriate for open networks.

SAUTER recommends deactivating moduWeb when not in use as doing so closes the
vulnerabilities related to the web server and the mail client service; users
can upgrade to the latest generation modulo 6 with moduWeb Unity as the web
server, which supports encrypted communication with TLS.

SAUTER recommends users take all necessary measures to protect the integrity of
building automation networks, restrict access to the devices, and leverage all
appropriate means and policies to minimize risks. Users should evaluate and
upgrade legacy systems to current solutions where necessary.

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

  o Minimize network exposure for all control system devices and/or systems,
    and ensure they are not accessible from the Internet .
  o Locate control system networks and remote devices behind firewalls and
    isolate them from business networks.
  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 at cisa.gov/ics . Several CISA products detailing cyber
defense best 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 at cisa.gov/ics in the technical information paper,
ICS-TIP-12-146-01B--Targeted Cyber Intrusion Detection and Mitigation
Strategies .

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

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

  o Do not click web links or open attachments in unsolicited 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. These
vulnerabilities are exploitable remotely. These vulnerabilities have low attack
complexity.

- --------------------------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: https://auscert.org.au/gpg-key/

iQIVAwUBZB1FqckNZI30y1K9AQi0Dg/+MQEkhqJB2FGSOLYL0SVt4yO52wCpHSPD
fIvNYnrxMFFkqX7Fy1DoUksLWtUv8J68YdI0cZz2PWqBNLHzydy7a/WmdAGv9ZlK
UFsHptzJJvjIVUknfrNHkXLwOlaCwpoECnFeRh8roOZHJ2vs2HKArMXE+mbHOrud
38+DASoWGA465cqt5vKq/Z95o8j5L2aWurm0gMgned465PCIwKirGl4ADlrrdkob
eSP5LVQdhf9R6Lb1jGUwMDpV/jgzBBQ9BPD0iPnUJu1PBJtipyBxbp9CG2WXbPuO
TJz5LQr3ZNfmAmYBaG6JEsnEEgWH0c6tQyNXGv0UBvQg3KGq+cSuxL7t5tM1zplg
nc4XOgBay3/GcjvbJbsAZ92zA+TGzp9RxoXNdn62aCpiHG3ITcEv6nSczXVNA1fv
IUvTGVNtaKcx+mmZ0TqMuFE/m3D5LLJNE45lvpO04GIVoUjVIcsZDg/nBxPCEcFK
WLkVhC00xELEO0Rxc8wPS720ziGKNrA5gAXDTbfPQ3BkdMjX/pg3aKvglK5WRhlT
IHV2NrtFoirvwtnCeJqpxU/19rpFEb1npsPZTGzoa7/QsafrolkRJfoxxbV3DZTF
KBPFoJfe1QQqO7vTtwwqrHgPELS0MhZ/Ow7NEPaQ8z2tqAh+uwG60b8g+ZUAPdve
hDg1oRO6axM=
=A8Vs
-----END PGP SIGNATURE-----