ESB-2023.3840 – [Appliance] PiiGAB M-Bus: CVSS (Max): 9.8 [auscert.org.au]

—–BEGIN PGP SIGNED MESSAGE—–
Hash: SHA256

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

ESB-2023.3840
ICS Advisory | ICSA-23-187-01 PiiGAB M-Bus
7 July 2023

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

AusCERT Security Bulletin Summary
———————————

Product: PiiGAB M-Bus
Publisher: ICS-CERT
Operating System: Network Appliance
Resolution: Patch/Upgrade
CVE Names: CVE-2023-36859 CVE-2023-35987 CVE-2023-35765
CVE-2023-35120 CVE-2023-34995 CVE-2023-34433
CVE-2023-33868 CVE-2023-32652 CVE-2023-31277

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

Comment: CVSS (Max): 9.8 CVE-2023-35987 (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/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:N/S:U/C:H/I:H/A:H

– ————————–BEGIN INCLUDED TEXT——————–

ICS Advisory (ICSA-23-187-01)

PiiGAB M-Bus

Release Date
July 06, 2023

1. EXECUTIVE SUMMARY

o CVSS v3 9.8
o ATTENTION: Exploitable remotely/low attack complexity
o Vendor: PiiGAB, Processinformation i Goteborg Aktiebolag
o Equipment: M-Bus SoftwarePack 900S
o Vulnerabilities: Code Injection, Improper Restriction of Excessive
Authentication Attempts, Unprotected Transport of Credentials, Use of
Hard-coded Credentials, Plaintext Storage of a Password, Cross-site
Scripting, Weak Password Requirements, Use of Password Hash with
Insufficient Computational Effort, Cross-Site Request Forgery

2. RISK EVALUATION

Successful exploitation of these vulnerabilities could crash allow an attacker
to inject arbitrary commands, steal passwords, or trick valid users into
executing malicious commands.

3. TECHNICAL DETAILS

3.1 AFFECTED PRODUCTS

PiiGAB reports these vulnerabilities affect the following wireless meter
reading software:

o M-Bus SoftwarePack 900S

3.2 VULNERABILITY OVERVIEW

3.2.1 CODE INJECTION CWE-94

PiiGAB M-Bus does not correctly sanitize user input, which could allow an
attacker to inject arbitrary commands.

CVE-2023-36859 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.2 IMPROPER RESTRICTION OF EXCESSIVE AUTHENTICATION ATTEMPTS CWE-307

The number of login attempts is not limited. This could allow an attacker to
perform a brute force on HTTP basic authentication.

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

3.2.3 UNPROTECTED TRANSPORT OF CREDENTIALS CWE-523

PiiGAB M-Bus transmits credentials in plaintext format.

CVE-2023-31277 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.4 USE OF HARD-CODED CREDENTIALS CWE-798

PiiGAB M-Bus contains hard-coded credentials, which it uses for authentication.

CVE-2023-35987 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 PLAINTEXT STORAGE OF A PASSWORD CWE-256

PiiGAB M-Bus stores credentials in a plaintext file, which could allow a
low-level user to gain admin credentials.

CVE-2023-35765 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.6 CROSS-SITE SCRIPTING CWE-79

The affected product does not validate identification strings before
processing, which could make it vulnerable to cross-site scripting attacks.

CVE-2023-32652 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.7 WEAK PASSWORD REQUIREMENTS CWE-521

There are no requirements for setting a complex password, which could
contribute to a successful brute force attack if the password is inline with
recommended password guidelines.

CVE-2023-34995 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.8 USE OF PASSWORD HASH WITH INSUFFICIENT COMPUTATIONAL EFFORT CWE-916

PiiGAB M-Bus stores passwords using a weak hash algorithm.

CVE-2023-34433 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.9 CROSS-SITE REQUEST FORGERY CWE-352

PiiGAB M-Bus is vulnerable to cross-site request forgery. An attacker who wants
to execute a certain command could send a phishing mail to the owner of the
device and hope that the owner clicks on the link. If the owner of the device
has a cookie stored that allows the owner to be logged in, then the device
could execute the GET or POST link request.

CVE-2023-35120 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.3 BACKGROUND

o CRITICAL INFRASTRUCTURE SECTORS: Energy
o COUNTRIES/AREAS DEPLOYED: Worldwide
o COMPANY HEADQUARTERS LOCATION: Sweden

3.4 RESEARCHER

Floris Hendriks and Jeroen Wijenbergh of Radboud University reported these
vulnerabilities to CISA.

4. MITIGATIONS

PiiGAB created updated software to address these issues and encourages users to
install the new update on their own gateway. The new software packages can be
downloaded directly from the web UI in the gateway and older gateways can
download it from Piigab.se or Piigab.com .

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

o Ensure the least-privilege user principle is followed.
o Set unique and secure passwords for all products requiring authentication.
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.

This product is provided subject to this Notification and this Privacy & Use
policy.

– ————————–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 [email protected]
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: [email protected]
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/

iQIVAwUBZKd4TskNZI30y1K9AQgl6BAAprFwhOWYmEGc9rUnltIGxsBtW9a9PRv4
PzcCWHZeuxjPnHPJUjoCGpZbrvZaT8uTyPYOaaVegW2+8aJb9CgikW0vKYElmut3
CT6qkcF9tCAgLP9pe+pRYw+5EJVzvG5tGWLxKVl5anrlCsqxeZ0pCNCH0VpfinUt
ua34x96cLQOobGORGAY4jf9zMrjDGORPhgqfng2x/P6CzEGNFAui3ZSAbLa7Y44S
kmgy+xdtDwb18gjTY5cFmC3WLucLMSbr+AJqWaDC8oeZZZQBo9yLEVd2lbyPPORu
MAmoBtdK0cqZNGT2yZxiCSjZdnGweXgeStgrTrOh6k5i7o9oZEbYuf39qBdHM6Tu
Pd5W9vpWVemoMYRuL4UW+9ZJIRuJc5J9DJ+tHjFyGInp99l2/SY3cxlKCdyDlc6j
L3dRvWefVTZ8Z/C1EozHLXwxwqJU8QLRx/IBO3Y5/jvM0p1rFjEOVz9vuAo1K3z1
XQO+EWWfFbx9EuNHsk1UVft7jYqZa7zJvOqa8lBm4LtRV4L4uh0qffirigCTNcwf
G7GuaPr6n97IAwVdthyOt03OKRD0QpgZ2X+NnpLaXuboKMr+l/UEc27Sp/Zl26W6
n/NAyknjEFq3J1WnrmS2scyJBo5fDYp1oaelbG3vJjPO+6BLreLKVjhuH7OAbtf/
fGJ5GlmrnMw=
=2Lzd
—–END PGP SIGNATURE—–

Source: Read More

​

Security Bulletins

Leave a Comment