Protect yourself against future threats.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 =========================================================================== AUSCERT External Security Bulletin Redistribution ESB-2018.2099 Advisory (ICSA-18-198-02) WAGO e!DISPLAY Web-Based-Management 19 July 2018 =========================================================================== AusCERT Security Bulletin Summary --------------------------------- Product: WAGO e!DISPLAY Web-Based-Management Publisher: ICS-CERT Operating System: Network Appliance Impact/Access: Overwrite Arbitrary Files -- Existing Account Create Arbitrary Files -- Existing Account Cross-site Scripting -- Remote with User Interaction Resolution: Patch/Upgrade CVE Names: CVE-2018-12981 CVE-2018-12980 CVE-2018-12979 Original Bulletin: https://ics-cert.us-cert.gov/advisories/ICSA-18-198-02 - --------------------------BEGIN INCLUDED TEXT-------------------- Advisory (ICSA-18-198-02) WAGO e!DISPLAY Web-Based-Management Original release date: July 17, 2018 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 8.0 o ATTENTION: Exploitable remotely/Low skill level to exploit/Public exploits are available o Vendor: WAGO o Equipment: e!DISPLAY Web-Based-Management (WBM) o Vulnerabilities: Cross-site Scripting, Unrestricted Upload of File with Dangerous Type, and Incorrect Permissions for Critical Resource 2. RISK EVALUATION Successful exploitation of these vulnerabilities could allow an attacker to execute code in the context of the user, execute code within the user's browser, place malicious files within the filesystem, and replace existing files to allow privilege escalation. 3. TECHNICAL DETAILS 3.1 AFFECTED PRODUCTS The following versions of WAGO e!DISPLAY, an HMI, running firmware FW 01 are affected: o 762-3000, o 762-3001, o 762-3002, and o 762-3003 3.2 VULNERABILITY OVERVIEW 3.2.1 IMPROPER NEUTRALIZATION OF INPUT DURING WEB PAGE GENERATION ('CROSS-SITE SCRIPTING') CWE-79 Authenticated and unauthenticated users can send specially crafted requests to the web server, which allows code injection within the WBM. The code will be rendered and/or executed within the user's browser. CVE-2018-12981 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.2 UNRESTRICTED UPLOAD OF FILE WITH DANGEROUS TYPE CWE-434 This vulnerability allows an authenticated user to upload arbitrary files to the file system with the permissions of the web server. CVE-2018-12980 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 INCORRECT PERMISSION FOR CRITICAL RESOURCE CWE-732 Weak permissions allow an authenticated user to overwrite critical files by abusing the unrestricted file upload in the WBM. CVE-2018-12979 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:H/PR:N/UI:R/S:U/C:H /I:H/A:H). 3.3 BACKGROUND o CRITICAL INFRASTRUCTURE SECTORS: Commercial Facilities, Critical Manufacturing, Energy, and Transportation Systems o COUNTRIES/AREAS DEPLOYED: Worldwide o COMPANY HEADQUARTERS LOCATION: Germany 3.4 RESEARCHER T. Weber of SEC Consult reported these vulnerabilities to CERT@VDE, who reported them to NCCIC. 4. MITIGATIONS WAGO recommends affected users update to the latest firmware (FW 02). Contact WAGO support for update files and specific instructions. WAGO also recommends the following mitigations: o Update the device to the latest firmware. o Restrict network access to the device. o Do not directly connect the device to the Internet. o Restrict the number of users with access to the device to a minimum. o Change the default passwords of devices. o Do not install software from untrusted sources. o Do not open websites or follow links from untrusted sources. WAGO has published a security advisory that can be viewed here: https://www.wago.com/medias/SA-WBM-2018-004.pdf NCCIC recommends users take defensive measures to minimize the risk of exploitation of this vulnerability. Specifically, users should: 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 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. Contact Information For any questions related to this report, please contact the NCCIC at: Email: NCCICCUSTOMERSERVICE@hq.dhs.gov Toll Free: 1-888-282-0870 For industrial control systems cybersecurity information: http:// ics-cert.us-cert.gov or incident reporting: https://ics-cert.us-cert.gov/Report-Incident? The NCCIC 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 iQIVAwUBW1AJVGaOgq3Tt24GAQiSrxAAxogXngnUujJyFKiqrs5B1f6YMy0rsv74 IschusgaIomLIV4Sxz+ctcdZ+UJZQP6msJqekT/7lWv9dDaBlxMCdWWzDL6clhAC SbezuuBpwChC1xJZp581SGaUGy38H7lEWpvWlOi2sdY8am+7mPXZwF2ZxXuYUdDk 8Wn380NTQZC/p6Jqm0/Fa0RqTCvKucDDgMwQT9Uc4r+2Yp7WwIJRW/dVACbDsaz5 HHyPQokFCWd+sK17hZI0he7SGafuivb09NzU69cREt7HbR6WiUkxtDQD3822dzTT Wga14y3NvJ+FO4WQWVuGnwgRyrDBPuKfR3fmZJPcyp9mEQ1kccOC82tvGlcO/Oxi wqTxmbCNkhPIjoHlg7+KFHyUTPMpzrdRhQNQJuNG7qd8Ad4o/q2mO1I77y4u5pTK FR992+k+rrdKLSf/ThVnaMAluVKtlmslvAwb+YkLSWhHPq0Bl5JsjoCXGmN9QLO2 o+qFQrsLgXd+TmcKKZcSE0t58F0VL+KVmDKwAEl0EzMZ/kk7rGtBP09QPbtu8Yvz ka7OAydm04DRamh2uTbPrSbMdlFr3lyZajITNJFE8m4CzfSxOFdYtPCsYz/y+TMo qf2M/FEgcdep8YkCbyDIsJYTtVI80V/D9GzXGhI9gQWE4ju7O72vCibw/Li8iaVK I9Xut6j5TPo= =ApaP -----END PGP SIGNATURE-----