Protect yourself against future threats.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 =========================================================================== AUSCERT External Security Bulletin Redistribution ESB-2023.6008 ICS Advisory | ICSA-23-278-01 Hitachi Energy AFS65x, AFF66x, AFS67x, and AFR67x Series Products 13 October 2023 =========================================================================== AusCERT Security Bulletin Summary --------------------------------- Product: Hitachi Energy AFS65x, AFF66x, AFS67x, and AFR67x Series Products Publisher: ICS-CERT Operating System: Network Appliance Resolution: Patch/Upgrade CVE Names: CVE-2022-25315 CVE-2022-25314 CVE-2022-25236 CVE-2022-25235 CVE-2022-23990 CVE-2022-23852 CVE-2022-22827 CVE-2022-22826 CVE-2022-22825 CVE-2022-22824 CVE-2022-22823 CVE-2022-22822 CVE-2021-46143 CVE-2021-45960 Original Bulletin: https://www.cisa.gov/news-events/ics-advisories/icsa-23-278-01 Comment: CVSS (Max): 9.8 CVE-2022-25315 (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-278-01) Hitachi Energy AFS65x, AFF66x, AFS67x, and AFR67x Series Products Release Date October 05, 2023 1. EXECUTIVE SUMMARY o CVSS v3 9.8 o ATTENTION : Exploitable remotely/low attack complexity o Vendor : Hitachi Energy o Equipment : AFS65x, AFF66x, AFS67x, AFR67x Series o Vulnerabilities : Incorrect Calculation, Integer Overflow or Wraparound, Improper Encoding or Escaping of Output, Exposure of Resource to Wrong Sphere 2. RISK EVALUATION Successful exploitation of these vulnerabilities by an attacker could have a high impact on availability, integrity, and confidentiality of the targeted devices. 3. TECHNICAL DETAILS 3.1 AFFECTED PRODUCTS The following Hitachi Energy products and versions are affected: o AFF66X FW: 03.0.02 and prior o AFS66X-S: All versions o AFS660-C: All versions o AFS66X-B: All versions o AFS670-V20: All versions o AFS65X: All versions o AFS67X: All versions o AFR677: All versions 3.2 Vulnerability Overview 3.2.1 INCORRECT CALCULATION CWE-682 In Expat (aka libexpat) before 2.4.3, a left shift by 29(or more) places in the storeAtts function in xmlparse.c can lead to realloc misbehavior (e.g., allocating too few bytes, or only freeing memory). CVE-2021-45960 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 INTEGER OVERFLOW OR WRAPAROUND CWE-190 In doProlog in xmlparse.c in Expat (aka libexpat) before 2.4.3, an integer overflow exists for m_groupSize. CVE-2021-46143 has been assigned to this vulnerability. A CVSS v3 base score of 7.8 has been calculated; the CVSS vector string is ( AV:L/AC:L/PR:N/UI:R/S:U/ C:H/I:H/A:H ). 3.2.3 INTEGER OVERFLOW OR WRAPAROUND CWE-190 Vulnerable code using addBinding in xmlparse.c in Expat (aka libexpat) before 2.4.3 has an integer overflow. CVE-2022-22822 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.4 INTEGER OVERFLOW OR WRAPAROUND CWE-190 Vulnerable code using build_model in xmlparse.c in Expat (aka libexpat) before 2.4.3 has an integer overflow. CVE-2022-22823 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 INTEGER OVERFLOW OR WRAPAROUND CWE-190 Vulnerable code using defineAttribute in xmlparse.c in Expat (aka libexpat) before 2.4.3 has an integer overflow. CVE-2022-22824 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.6 INTEGER OVERFLOW OR WRAPAROUND CWE-190 The lookup in xmlparse.c in Expat (aka libexpat) before 2.4.3 has an integer overflow. CVE-2022-22825 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.7 INTEGER OVERFLOW OR WRAPAROUND CWE-190 Vulnerable code using nextScaffoldPart in xmlparse.c in Expat (aka libexpat) before 2.4.3 has an integer overflow CVE-2022-22826 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.8 INTEGER OVERFLOW OR WRAPAROUND CWE-190 An insecure direct object reference for the file-download URL in Synametrics SynaMan before 5.0 allows a remote attacker to access unshared files via a modified base64-encoded filename string. CVE-2022-22827 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 INTEGER OVERFLOW OR WRAPAROUND CWE-190 In Expat (aka libexpat) before 2.4.5, there is an integer overflow in copyString. CVE-2022-25314 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:N/I:N/A:H ). 3.2.10 INTEGER OVERFLOW OR WRAPAROUND CWE-190 In Expat (aka libexpat) before 2.4.5, there is an integer overflow in storeRawNames CVE-2022-25315 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.11 IMPROPER ENCODING OR ESCAPING OF OUTPUT CWE-116 Vulnerable code in xmltok_impl.c in Expat (aka libexpat) before 2.4.5 lacks certain validation of encoding, such as checks for whether a UTF-8 character is valid in a certain context. CVE-2022-25235 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.12 EXPOSURE OF RESOURCE TO WRONG SPHERE CWE-668 Vulnerable code in xmlparse.c in Expat (aka libexpat) before 2.4.5 allows attackers to insert namespace-separator characters into namespace URIs. CVE-2022-25236 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.13 INTEGER OVERFLOW OR WRAPAROUND CWE-190 Expat (aka libexpat) before 2.4.4 has a signed integer overflow in XML_GetBuffer, for configurations with a nonzero XML_CONTEXT_BYTES CVE-2022-23852 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.14 INTEGER OVERFLOW OR WRAPAROUND CWE-190 Expat (aka libexpat) before 2.4.4 has an integer overflow in the doProlog function. CVE-2022-23990 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:N/I:N/A:H ). 3.3 BACKGROUND o CRITICAL INFRASTRUCTURE SECTORS: Energy o COUNTRIES/AREAS DEPLOYED: Worldwide o COMPANY HEADQUARTERS LOCATION: Switzerland 3.4 RESEARCHER Hitachi Energy reported these vulnerabilities to CISA. 4. MITIGATIONS Hitachi energy recommends the following actions: o AFF66X FW 03.0.02 and earlier: ? For all vulnerabilities, apply mitigation strategy as described in Hitachi Energy's general mitigation factors below or update to upcoming AFF66X 04.x.xx FW when released. o AFS66X-S, AFS660-C, AFS66X-B, AFS670-V20 devices: ? For all vulnerabilities, apply mitigation strategy as described in Hitachi Energy's general mitigation factors below or update to upcoming AFS66X, AFS670-V20 7.1.08 FW when released. ? Disable HTTP/HTTPS server or restrict access to HTTP/HTTPS to trusted IP addresses. ? Disable IEC61850-MMS server or restrict access to IEC61850-MMS to trusted IP addresses. o AFS65X, AFS67X, AFR677 devices: ? For all vulnerabilities, apply mitigation strategy as described in Hitachi Energy's general mitigation factors below or update to AFS65X, AFS67X, AFR677 09.1.08 FW. ? Disable HTTP/HTTPS server or restrict access to HTTP/HTTPS to trusted IP addresses. ? Disable IEC61850-MMS server. Hitachi Energy's general mitigation factors: Security practices and firewall configurations can help protect a process control network from attacks that originate from outside the network. Such practices include that process control systems are physically protected from direct access by unauthorized personnel, have no direct connections to the Internet, and are separated from other networks by means of a firewall system that has a minimal number of ports exposed, and others that have to be evaluated case by case. Process control systems should not be used for Internet surfing, instant messaging, or receiving e-mails. Portable computers and removable storage media should be carefully scanned for viruses before they are connected to a control system. For more information, please visit Hitachi Energy's Advisory . CISA recommends users take defensive measures to minimize the risk of exploitation of these vulnerabilities. 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 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 . CISA encourages organizations to implement recommended cybersecurity strategies for proactive defense of ICS assets . 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 exploitation specifically targeting these vulnerabilities has been reported to CISA at this time. 5. UPDATE HISTORY o October 5, 2023: Initial Publication This product is provided subject to this Notification and this Privacy & Use policy. Vendor Hitachi Energy - --------------------------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/ iQIVAwUBZSilX8kNZI30y1K9AQi4CRAAmPk6B8HOK6LSLGFOzSdFz/42N+I2P0qC Vam984gfo8rZUIlr6F7jqFVK6toVUoUoixNwZn9CU+hSMMwFqd7B9kthTWPoYtJL CbDjb+tefLaqhUQM0xW24yvM/sE4gn9L4tNBETWzOYnYF8RTjr+cs10IZJATuOjH Jwprg5lccHXNGTeqVL2sf3WaIl/E8xr/UWw9TclusglODWB6q34goaHBzKYB3S2X yZy24PYniAtaDV2iRcpYa9lhSYUCqMhLzBL+LHi0WWywpQH+Sslw9acoMHTsj4tn PJHTI617kR+gksmJOyW9Rs2qGGnDwJRmPjf5uE0xlDMejbsSSc0DC2yRp5cpUQX4 s0GsH1cyYpmWTH5fXlqDZPN7Rla81/+uJKB3QDmqOSDObwWXjtYFOdQysfRf4twI hprffL1P3hdbBgFHWNNlgFPFaYTE+A74iVg7jRFxnJBJquGr80Tm4JpqEhqPQZ1A v8R2OkcFV5zndo89OzHDcQ4Uqt33aHTNEy3+Gsz7VsL7JJIeBjRPm14FbaHdmv+f 4vb2GqbmWz+5ho8g5ZwfiAtpOMMZkzBalWfHPPRURtrLAsci5JZifcgm1jB0KbWP z81oi3CavNSH3s9XBpqox8YZW07smzsb7qwmHqf0f1UkVhlCLzFtRLCA6WtPnmbu OacovCzHaeI= =Ou90 -----END PGP SIGNATURE-----