Protect yourself against future threats.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 =========================================================================== AUSCERT External Security Bulletin Redistribution ESB-2021.3478 Advisory (icsa-21-292-01) AUVESY Versiondog 20 October 2021 =========================================================================== AusCERT Security Bulletin Summary --------------------------------- Product: AUVESY Versiondog Publisher: ICS-CERT Operating System: Network Appliance Impact/Access: Execute Arbitrary Code/Commands -- Remote with User Interaction Increased Privileges -- Existing Account Overwrite Arbitrary Files -- Remote/Unauthenticated Delete Arbitrary Files -- Remote/Unauthenticated Denial of Service -- Remote with User Interaction Access Confidential Data -- Remote/Unauthenticated Unauthorised Access -- Remote/Unauthenticated Resolution: Patch/Upgrade CVE Names: CVE-2021-38481 CVE-2021-38479 CVE-2021-38477 CVE-2021-38475 CVE-2021-38473 CVE-2021-38471 CVE-2021-38469 CVE-2021-38467 CVE-2021-38465 CVE-2021-38463 CVE-2021-38461 CVE-2021-38459 CVE-2021-38457 CVE-2021-38455 CVE-2021-38453 CVE-2021-38451 CVE-2021-38449 Original Bulletin: https://us-cert.cisa.gov/ics/advisories/icsa-21-292-01 - --------------------------BEGIN INCLUDED TEXT-------------------- ICS Advisory (ICSA-21-292-01) AUVESY Versiondog Original release date: October 19, 2021 Legal Notice All information products included in https://us-cert.cisa.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://us-cert.cisa.gov/tlp/ . 1. EXECUTIVE SUMMARY o CVSS v3 9.8 o ATTENTION: Exploitable remotely/low attack complexity o Vendor: AUVESY o Equipment: Versiondog o Vulnerabilities: Improper Access Control, Incorrect Permission Assignment for Critical Resource, Use of Hard-coded Cryptographic Key, Out-of-bounds Read, Use After Free, Out-of-bounds Write, Write-what-where Condition, Use of Potentially Dangerous Function, Unrestricted Upload of File with Dangerous Type, External Control of File Name or Path, External Control of System or Configuration Setting, Improper Input Validation, Uncontrolled Resource Consumption, Uncontrolled Search Path Element, Authentication Bypass by Capture-replay, SQL Injection, Uncontrolled Resource Consumption 2. RISK EVALUATION Successful exploitation of these vulnerabilities could allow an attacker to achieve remote code execution, and acquire complete remote control over the machine. 3. TECHNICAL DETAILS 3.1 AFFECTED PRODUCTS The following versions of Versiondog, a data management software for automated production, are affected: o Versiondog: All versions prior to v8.0 3.2 VULNERABILITY OVERVIEW 3.2.1 IMPROPER ACCESS CONTROL CWE-284 The server permits communication without any authentication procedure, allowing the attacker to initiate a session with the server without providing any form of authentication. CVE-2021-38457 has been assigned to this vulnerability. A CVSS v3 base score of 9.8 has been assigned; the CVSS vector string is ( AV:N/AC:L/PR:N/UI:N/S:U/C:H/ I:H/A:H ). 3.2.2 INCORRECT PERMISSION ASSIGNMENT FOR CRITICAL RESOURCE CWE-732 The database connection to the server is performed by calling a specific API, which could allow an unprivileged user to gain SYSDBA permissions. CVE-2021-38475 has been assigned to this vulnerability. A CVSS v3 base score of 7.3 has been assigned; the CVSS vector string is ( AV:N/AC:L/PR:L/UI:R/S:U/C:H/ I:H/A:N ). 3.2.3 USE OF HARD-CODED CRYPTOGRAPHIC KEY CWE-321 The affected product uses a hard-coded blowfish key for encryption/decryption processes. The key can be easily extracted from binaries. CVE-2021-38461 has been assigned to this vulnerability. A CVSS v3 base score of 8.2 has been assigned; the CVSS vector string is ( AV:N/AC:L/PR:N/UI:N/S:U/C:L/ I:H/A:N ). 3.2.4 OUT-OF-BOUNDS READ CWE-125 The affected product's proprietary protocol CSC allows for calling numerous function codes. In order to call those function codes, the user must supply parameters. There is no sanitation on the value of the offset, which allows the client to specify any offset and read out-of-bounds data. CVE-2021-38451 has been assigned to this vulnerability. A CVSS v3 base score of 4.8 has been assigned; the CVSS vector string is ( AV:N/AC:H/PR:L/UI:R/S:U/C:H/ I:N/A:N ). 3.2.5 USE AFTER FREE CWE-416 A specific function code receives a raw pointer supplied by the user and deallocates this pointer. The user can then control what memory regions will be freed and cause use-after-free condition. CVE-2021-38467 has been assigned to this vulnerability. A CVSS v3 base score of 8.1 has been assigned; the CVSS vector string is ( AV:N/AC:L/PR:N/UI:R/S:U/C:N/ I:H/A:H ). 3.2.6 OUT-OF-BOUNDS WRITE CWE-787 Many API function codes receive raw pointers remotely from the user and trust these pointers as valid in-bound memory regions. An attacker can manipulate API functions by writing arbitrary data into the resolved address of a raw pointer. CVE-2021-38479 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:N/ I:H/A:N ). 3.2.7 WRITE-WHAT-WHERE CONDITION CWE-123 Some API functions permit by-design writing or copying data into a given buffer. Since the client controls these parameters, a local attacker could rewrite the memory in any location of the affected product. CVE-2021-38449 has been assigned to this vulnerability. A CVSS v3 base score of 9.8 has been assigned; the CVSS vector string is ( AV:N/AC:L/PR:N/UI:N/S:U/C:H/ I:H/A:H ). 3.2.8 IMPROPER RESTRICTION OF OPERATIONS WITHIN THE BOUNDS OF A MEMORY BUFFER CWE-119 The affected product's code base doesn't properly control arguments for specific functions, which could lead to a stack overflow. CVE-2021-38473 has been assigned to this vulnerability. A CVSS v3 base score of 8.0 has been assigned; the CVSS vector string is ( AV:N/AC:L/PR:L/UI:R/S:U/C:H/ I:H/A:H ). 3.2.9 UNRESTRICTED UPLOAD OF FILE WITH DANGEROUS TYPE CWE-434 There are multiple API function codes that permit data writing to any file, which may allow an attacker to modify existing files or create new files. CVE-2021-38471 has been assigned to this vulnerability. A CVSS v3 base score of 9.1 has been assigned; the CVSS vector string is ( AV:N/AC:L/PR:N/UI:N/S:U/C:N/ I:H/A:H ). 3.2.10 EXTERNAL CONTROL OF FILE NAME OR PATH CWE-73 There are multiple API function codes that permit reading and writing data to or from files and directories, which could lead to the manipulation and/or the deletion of files. CVE-2021-38477 has been assigned to this vulnerability. A CVSS v3 base score of 9.8 has been assigned; the CVSS vector string is ( AV:N/AC:L/PR:N/UI:N/S:U/C:H/ I:H/A:H ). 3.2.11 EXTERNAL CONTROL OF SYSTEM OR CONFIGURATION SETTING CWE-15 Some API functions allow interaction with the registry, which includes reading values as well as data modification. CVE-2021-38453 has been assigned to this vulnerability. A CVSS v3 base score of 9.1 has been assigned; the CVSS vector string is ( AV:N/AC:L/PR:N/UI:N/S:U/C:N/ I:H/A:H ). 3.2.12 IMPROPER INPUT VALIDATION CWE-20 The affected product's OS Service does not verify any given parameter. A user can supply any type of parameter that will be passed to inner calls without checking the type of the parameter or the value. CVE-2021-38455 has been assigned to this vulnerability. A CVSS v3 base score of 7.3 has been assigned; the CVSS vector string is ( AV:N/AC:L/PR:L/UI:R/S:U/C:N/ I:H/A:H ). 3.2.13 UNCONTROLLED RESOURCE CONSUMPTION CWE-400 The affected product does not properly control the allocation of resources. A user may be able to allocate unlimited memory buffers using API functions. CVE-2021-38463 has been assigned to this vulnerability. A CVSS v3 base score of 7.3 has been assigned; the CVSS vector string is ( AV:N/AC:L/PR:L/UI:R/S:U/C:N/ I:H/A:H ). 3.2.14 UNCONTROLLED SEARCH PATH ELEMENT CWE-427 Many of the services used by the affected product do not specify full paths for the DLLs they are loading. An attacker can exploit the uncontrolled search path by implanting their own DLL near the affected product's binaries, thus hijacking the loaded DLL. CVE-2021-38469 has been assigned to this vulnerability. A CVSS v3 base score of 9.1 has been assigned; the CVSS vector string is ( AV:N/AC:L/PR:N/UI:N/S:U/C:N/ I:H/A:H ). 3.2.15 AUTHENTICATION BYPASS BY CAPTURE-REPLAY CWE-294 The data of a network capture of the initial handshake phase can be used to authenticate at a SYSDBA level. If a specific .exe is not restarted often, it is possible to access the needed handshake packets between admin/client connections. Using the SYSDBA permission, an attacker can change user passwords or delete the database. CVE-2021-38459 has been assigned to this vulnerability. A CVSS v3 base score of 8.1 has been assigned; the CVSS vector string is ( AV:N/AC:H/PR:N/UI:N/S:U/C:H/ I:H/A:H ). 3.2.16 SQL INJECTION CWE-89 The scheduler service running on a specific TCP port enables the user to start and stop jobs. There is no sanitation of the supplied JOB ID provided to the function. An attacker may send a malicious payload that can enable the user to execute another SQL expression by sending a specific string. CVE-2021-38481 has been assigned to this vulnerability. A CVSS v3 base score of 7.1 has been assigned; the CVSS vector string is ( AV:N/AC:H/PR:L/UI:R/S:U/C:H/ I:H/A:H ). 3.2.17 UNCONTROLLED RESOURCE CONSUMPTION CWE-400 The webinstaller is a Golang web server executable that enables the generation of an Auvesy image agent. Resource consumption can be achieved by generating large amounts of installations, which are then saved without limitation in the temp folder of the webinstaller executable. CVE-2021-38465 has been assigned to this vulnerability. A CVSS v3 base score of 8.0 has been assigned; the CVSS vector string is ( AV:N/AC:L/PR:L/UI:R/S:U/C:H/ I:H/A:H ). 3.3 BACKGROUND o CRITICAL INFRASTRUCTURE SECTORS: Multiple o COUNTRIES/AREAS DEPLOYED: Worldwide o COMPANY HEADQUARTERS LOCATION: Germany 3.4 RESEARCHER Amir Preminger of Claroty reported these vulnerabilities to CISA. 4. MITIGATIONS AUVESY recommends upgrading Versiondog to Version 8.1 or later (login required). CISA recommends users take defensive measures to minimize the risk of exploitation of this vulnerability. Specifically, users should: o Minimize network exposure for all control system devices and/or systems, and ensure that they are not accessible from the Internet . 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 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 on us-cert.cisa.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.cisa.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 iQIVAwUBYW9+cONLKJtyKPYoAQiIJw//aeKPehfxmK8OUPOcKsB3MVnvt62ktEfg FzLN15ac1f4r8HphU92lnaV8oIUpj0rvn6Abd01tK5yVHSex0hRl0DFsgQLDy0QM 8yblln435FkrF20qzQf9cI+Lm3Aw7WKkz3xQjki6CdoiYNnVkVkzrKi2EBnIxXgb xTjDstlTd9CdX0FlGydNAWjMrmMxpraOvAO0Wh2V9srW9PWl1EToaun4TirKwEOY mbqcKOPuXIN7xZ7z4b66dQUExIzsyp5ukInlwA+JXfu24j4M8gA/voMRYNy9V12Z InOxrswgi+qfDnMN60cJDDNAoHJFjgj/aspzy4AL3hlxt0Qb8SByBxQRbyhx3sh+ OpaJTJ5s6IpYpBJSqPpN8kUSE4J63dkK81zIpSwzu1qHXf8J0HXE0gvpr30XlYBj C3JTxwK9lfZkjEh2CQ54+vn8mgg9eNJ+cA6DlDf7QMnIVzaX6tFWWxXXmw8lPlTC sUBpBLZa6beO9iBdFDzEzUBw48slPrHm7mCRZoFsP8LG47XeFL/7XBzOrd11eNd4 DVUZ3KR6RWmP3SB5lKiPA4vKGKJJZkqEpGaIscX6jvmG6fnAmQXkr8cC1rCLC8dQ Vm2nAFDPLe5ypmfCReRgXSskh9BVCCDknq4zavV29yjDP6KMsTwPHEgzVmxC5tKN /CsNkScVs+M= =dvE6 -----END PGP SIGNATURE-----