Protect yourself against future threats.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 =========================================================================== AUSCERT External Security Bulletin Redistribution ESB-2020.1679.2 Advisory (icsa-20-133-02) OSIsoft PI System 10 June 2020 =========================================================================== AusCERT Security Bulletin Summary --------------------------------- Product: OSIsoft PI System Publisher: ICS Advisory Operating System: Network Appliance Impact/Access: Denial of Service -- Remote/Unauthenticated Cross-site Scripting -- Remote with User Interaction Access Confidential Data -- Existing Account Modify Arbitrary Files -- Existing Account Resolution: Patch/Upgrade CVE Names: CVE-2020-10614 CVE-2020-10610 CVE-2020-10608 CVE-2020-10606 CVE-2020-10604 CVE-2020-10602 CVE-2020-10600 CVE-2019-18244 CVE-2019-11358 CVE-2019-10768 Reference: ESB-2020.0161 Original Bulletin: https://www.us-cert.gov/ics/advisories/icsa-20-133-02 Revision History: June 10 2020: ICS-CERT updated advisory May 13 2020: Initial Release - --------------------------BEGIN INCLUDED TEXT-------------------- ICS Advisory (ICSA-20-133-02) OSIsoft PI System (Update A) Original release date: June 09, 2020 Legal Notice All information products included in https://us-cert.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://www.us-cert.gov/tlp/ . 1. EXECUTIVE SUMMARY o CVSS v3 7.8 o ATTENTION: Exploitable remotely/low skill level to exploit o Vendor: OSIsoft o Equipment: PI System o Vulnerabilities: Uncontrolled Search Path Element, Improper Verification of Cryptographic Signature, Incorrect Default Permissions, Uncaught Exception, Null Pointer Dereference, Improper Input Validation, Cross-site Scripting, Insertion of Sensitive Information into Log File 2. UPDATE INFORMATION This updated advisory is a follow-up to the original advisory titled ICSA-20-133-02 OSIsoft PI System that was published May 12, 2020, on the ICS webpage on us-cert.gov. 3. RISK EVALUATION Successful exploitation of these vulnerabilities could allow an attacker to access unauthorized information, delete or modify local processes, and crash the affected device. 4. TECHNICAL DETAILS 4.1 AFFECTED PRODUCTS The following versions of PI System are affected: CVE-2020-10610, CVE-2020-10608, CVE-2020-10606: o Applications using PI Asset Framework (AF) Client versions prior to and including PI AF Client 2018 SP3 Patch 1, Version 2.10.7.283 o Applications using PI Software Development Kit (SDK) versions prior to and including PI SDK 2018 SP1, Version 1.4.7.602 o PI API for Windows Integrated Security versions prior to and including 2.0.2.5, o PI API versions prior to and including 1.6.8.26 o PI Buffer Subsystem versions prior to and including 4.8.0.18 o PI Connector for BACnet, versions prior to and including 1.2.0.6 o PI Connector for CygNet, versions prior to and including 1.4.0.17 o PI Connector for DC Systems RTscada, versions prior to and including 1.2.0.42 o PI Connector for Ethernet/IP, versions prior to and including 1.1.0.10 o PI Connector for HART-IP, versions prior to and including 1.3.0.1 o PI Connector for Ping, versions prior to and including 1.0.0.54 o PI Connector for Wonderware Historian, versions prior to and including 1.5.0.88 o PI Connector Relay, versions prior to and including 2.5.19.0 o PI Data Archive versions prior to and including PI Data Archive 2018 SP3, Version 3.4.430.460 o PI Data Collection Manager, versions prior to and including 2.5.19.0 o PI Integrator for Business Analytics versions prior to and including 2018 R2 SP1, Version 2.2.0.183 o PI Interface Configuration Utility (ICU) versions prior to and including 1.5.0.7 o PI to OCS versions prior to and including 1.1.36.0 - --------- Begin Update A Part 1 of 2 --------- o PI Connector for IEC 60870-5-104, versions prior to and including 1.2.2.79 o PI Connector for OPC-UA, versions prior to and including 1.3.0.130 o PI Connector for Siemens Simatic PCS 7, versions prior to and including 1.2.1.71 o PI Connector for UFL, versions prior to and including 1.3.1.135 - --------- End Update A Part 1 of 2 --------- CVE-2020-10604, CVE-2020-10602: o PI Data Archive 2018 and 2018 SP2 only CVE-2020-10600: o PI Data Archive 2018 SP2 and prior versions CVE-2019-10768: o PI Vision 2019 and prior o PI Manual Logger 2017 R2 Patch 1 and prior o RtReports Version 4.1 and prior CVE-2020-10600, CVE-2020-10614, CVE-2019-18244: o PI Vision 2019 and prior versions 4.2 VULNERABILITY OVERVIEW 4.2.1 UNCONTROLLED SEARCH PATH ELEMENT CWE-427 A local attacker can modify a search path and plant a binary to exploit the affected PI System software to take control of the local computer at Windows system privilege level, resulting in unauthorized information disclosure, deletion, or modification. CVE-2020-10610 has been assigned to this vulnerability. A CVSS v3 base score of 7.8 has been assigned; the CVSS vector string is ( AV:L/AC:L/PR:L/UI:N/S:U/C:H/ I:H/A:H ). 4.2.2 IMPROPER VERIFICATION OF CRYPTOGRAPHIC SIGNATURE CWE-347 A local attacker can plant a binary and bypass a code integrity check for loading PI System libraries. This exploitation can target another local user of PI System software on the computer to escalate privilege and result in unauthorized information disclosure, deletion, or modification. CVE-2020-10608 has been assigned to this vulnerability. A CVSS v3 base score of 7.8 has been assigned; the CVSS vector string is ( AV:L/AC:L/PR:L/UI:N/S:U/C:H/ I:H/A:H ). 4.2.3 INCORRECT DEFAULT PERMISSIONS CWE-276 A local attacker can exploit incorrect permissions set by affected PI System software. This exploitation can result in unauthorized information disclosure, deletion, or modification if the local computer also processes PI System data from other users, such as from a shared workstation or terminal server deployment. CVE-2020-10606 has been assigned to this vulnerability. A CVSS v3 base score of 7.8 has been assigned; the CVSS vector string is ( AV:L/AC:L/PR:L/UI:N/S:U/C:H/ I:H/A:H ). 4.2.4 UNCAUGHT EXCEPTION CWE-248 A remote, unauthenticated attacker could crash PI Network Manager service through specially crafted requests. This can result in blocking connections and queries to PI Data Archive. CVE-2020-10604 has been assigned to this vulnerability. A CVSS v3 base score of 7.5 has been assigned; the CVSS vector string is ( AV:N/AC:L/PR:N/UI:N/S:U/C:N/ I:N/A:H ). 4.2.5 NULL POINTER DEREFERENCE CWE-476 An authenticated remote attacker could crash PI Network Manager due to a race condition. This can result in blocking connections and queries to PI Data Archive. CVE-2020-10602 has been assigned to this vulnerability. A CVSS v3 base score of 6.5 has been assigned; the CVSS vector string is ( AV:N/AC:L/PR:L/UI:N/S:U/C:N/ I:N/A:H ). 4.2.6 NULL POINTER DEREFERENCE CWE-476 An authenticated remote attacker could crash PI Archive Subsystem when the subsystem is working under memory pressure. This can result in blocking queries to PI Data Archive. CVE-2020-10600 has been assigned to this vulnerability. A CVSS v3 base score of 5.9 has been assigned; the CVSS vector string is ( AV:N/AC:H/PR:L/UI:N/S:U/C:N/ I:L/A:H ). 4.2.7 IMPROPER INPUT VALIDATION CWE-20 An authenticated remote attacker could add or modify internal object properties, resulting in undefined behavior. CVE-2019-10768 and CVE-2019-11358 has been assigned to this vulnerability. A CVSS v3 base score of 7.5 has been assigned; the CVSS vector string is ( AV:N/ AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N ). 4.2.8 IMPROPER NEUTRALIZATION OF INPUT DURING WEB PAGE GENERATION ('CROSS-SITE SCRIPTING') CWE-79 An authenticated remote attacker could use specially crafted URLs to send a victim using PI Vision mobile to a vulnerable webpage due to a known issue in a third-party component. CVE-2020-10600 has been assigned to this vulnerability. A CVSS v3 base score of 6.5 has been assigned; the CVSS vector string is ( AV:N/AC:L/PR:N/UI:R/S:U/C:H/ I:N/A:N ). 4.2.9 IMPROPER NEUTRALIZATION OF INPUT DURING WEB PAGE GENERATION ('CROSS-SITE SCRIPTING') CWE-79 An authenticated remote attacker with write access to PI Vision databases could inject code into a display. Unauthorized information disclosure, deletion, or modification is possible if a victim views the infected display. CVE-2020-10614 has been assigned to this vulnerability. A CVSS v3 base score of 6.4 has been assigned; the CVSS vector string is ( AV:N/AC:L/PR:H/UI:R/S:U/C:H/ I:L/A:H ). 4.2.10 INSERTION OF SENSITIVE INFORMATION INTO LOG FILE CWE-532 A local attacker could view sensitive information in log files when service accounts are customized during installation or upgrade of PI Vision. The update fixes a previously reported issue. CVE-2019-18244 has been assigned to this vulnerability. A CVSS v3 base score of 5.1 has been assigned; the CVSS vector string is ( AV:L/AC:H/PR:N/UI:N/S:U/C:H/ I:N/A:N ). 4.3 BACKGROUND o CRITICAL INFRASTRUCTURE SECTORS: Multiple Sectors o COUNTRIES/AREAS DEPLOYED: Worldwide o COMPANY HEADQUARTERS LOCATION: United States 4.4 RESEARCHER William Knowles, Senior Security Consultant at Applied Risk, working with OSIsoft, reported vulnerabilities to CISA. 5. MITIGATIONS - --------- Begin Update A Part 2 of 2 --------- OSIsoft provides the following security updates to mitigate the reported vulnerabilities: OSIsoft reports further action should be taken after applying the security updates. Remove PI Asset Framework (AF) Client .NET 3.5 after verifying OSIsoft products that include the PI AF Client, such as PI ProcessBook, PI DataLink and other PI System desktop applications have been upgraded to 2015 (as well as later versions) in order to eliminate exposure to CVE-2020-10608. For PI System servers and interface nodes that are normally unattended, limit console and remote desktop logon access to authorized administrators. Individual updates for core PI System components are available. Additionally, the following OSIsoft product installation kits have been re-released to automatically deliver the updated components: Client o PI DataLink o PI OLEDB Enterprise o PI OLEDB Provider o PI ProcessBook o PI System Management Tools Server o PB Migration Utility o PI Event Frames Generator o PI Interface Configuration Utility o PI OPC DA Server o PI Vision o PI to OCS o RtReports Connectors o PI Connector for BACnet o PI Connector for DC Systems Rtscada o PI Connector for Ethernet IP o PI Connector for IEC 60870-5-104 o PI Connector for OPC UA o PI Connector for Ping o PI Connector for SIMATIC PCS 7 o PI Connector for Wonderware Historian OSIsoft reports not all products have been rebundled to include the affected update. Contact OSIsoft support for guidance on products missing that use affected components that are missing from the currently available releases. - --------- EndUpdate A Part 2 of 2 --------- CVE-2020-10610 -Manage permissions on HKLM\Software\PISystem and HKLM\ WOW6432Node\Software\PISystem registry keys to block a high impact exploit path. See OSIsoft customer portal knowledge article PI System Registry Security Recommendations for details on setting registry permissions. CVE-2019-18244 -Provision and use domain Group Managed Service Accounts or use the default NetworkService account to run PI Vision AppPools. There is no exposure to this vulnerability when using either of these account types. To limit exposure in case standard domain account is used to run PI Vision AppPools, remove the password entry from the setup log files immediately. OSIsoft reports the following measures can be used to lower likelihood of exploitation: CVE-2020-10610, CVE-2020-10608, CVE-2020-10606 -Migrate standard users to PI Vision and browser-based access to PI System data. CVE-2020-10608 -Restrict network connections from PI client workstations to trusted AF servers (TCP Port 5457). CVE-2020-10606 -Disable unused PI Buffering services from PI client workstations (PI Buffer Subsystem, PI Buffer Server). CVE-2019-10768, CVE-2020-10600, CVE-2020-10614 -Limit write access to PI Vision displays to trusted users. The following measures can be used to lower the potential impact of exploitation: CVE-2020-10610 and CVE-2020-10608 -Deploy application whitelisting solutions with enforcement for approved DLLs: o Windows AppLocker o Windows Defender Application Control o CVE-2020-10610 and CVE-2020-10608-Monitor HKLM\Software\PISystem and HKLM\ WOW6432Node\Software\PISystem registry keys as well as ProgramData\PISystem folder for unauthorized changes. o See OSIsoft customer portal knowledge article Monitoring PISystem Registry . For a list of PI System firewall port requirements, see knowledge base article KB01162 - Firewall Port Requirements . CVE-2020-10604, CVE-2020-10602, CVE-2020-10600 -Fully configure Windows authentication for the PI System and disable legacy authentication methods. For a starting point on PI System security best practices, see knowledge base article KB00833 - Seven best practices for securing your PI Server. For more information and workaround details for these vulnerabilities, please refer to OSIsoft's Security Bulletin (registration required): OSIsoft Updates PI System and Common Components . 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.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.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 iQIVAwUBXuBpCuNLKJtyKPYoAQgMmhAAozYvTqRte/dyx7/9uyvELfg2yeUUSQ+5 A590p8Y3GeQKUaZ0oEwhyepjHWTZvC053BHlx9dksTfzYgNT1npaIvVtm4DAVDz2 OLtUPt+NZF8aVoOiPK5vuJFkzNLaw0pN9a27W+oGft0YLRiBRemkx0RLYUl0PUvl Cc/pyBEm2tsbj2VVvuSgJxgFavEuPHqqy/Yn+r3qPq9CeUZTWx6CWZVAFRff/Wlu Bprlyy7PWIP4CrPfQlDVW2jdC7tlIMwSdXu5BgLlfdCEmq9qMXPfIzZ2j1+osgpm ObC5zqUxSEFHO+M8j8IR1jPhuIeRCbyIJmqjPE+u7HM0qf5fE48nIWAObYL0r8Lc cp7YfgHmCRc5fFFlAalHQe/ofwwG+e8zPIxVN67foo5TGxB1Ur5QWlbgqxjormeX H4N1MAg0OJ+rsoDYav6VWSNwT+1ffM4slANGFkJTlWhG/5xSfdIc1ardUd7dOem/ Gfn3MCt+XQ0E4QWW0A9IT8qWZ80/AJiMQxkXtKDXGbLbNrZWpBMuyef/M+RND2X9 VRm2pLHCEO49BXWM5KwwG0iHXlfM4++wrUJmgNbwhlggIwVmVFRoAyMYkFsMGWon lHbDhZsQzbYt3ZCBSvmj9T4gloa4n91hJ+xChuxudM2AGo+ODtt+P73kezOvWsqX FK/89ZfN7tQ= =ki7J -----END PGP SIGNATURE-----