Headline
CVE-2022-25795: Security Advisories | Autodesk Trust Center
A maliciously crafted PDF file can be used to dereference for a write beyond the allocated buffer while parsing PDFTron files. The vulnerability exists because the application fails to handle a crafted PDFTron file, which causes an unhandled exception. An attacker can leverage this vulnerability to execute arbitrary code.
Summary
Applications and Services that utilize certain Autodesk products are affected by Out-of-bounds Read, Out-of-bounds Write, untrusted pointer Dereference, and memory corruption vulnerabilities. Exploitation of these vulnerabilities may lead to arbitrary code execution.
Description
The details of the vulnerabilities are as follows:
CVE-2022-27523 - A buffer over-read can be exploited in Autodesk TrueView 2022 may lead to an exposure of sensitive information or a crash through using a maliciously crafted DWG file as an Input. This vulnerability in conjunction with other vulnerabilities could lead to code execution in the context of the current process.
CVE-2022-27524 - An out-of-bounds read can be exploited in Autodesk TrueView 2022 may lead to an exposure of sensitive information or a crash through using a maliciously crafted DWG file as an Input. This vulnerability in conjunction with other vulnerabilities could lead to code execution in the context of the current process.
CVE-2021-27041 - A maliciously crafted DWG file can be used to write beyond the allocated buffer while parsing DWG files. This vulnerability can be exploited to execute arbitrary code
CVE-2021-27042 - A maliciously crafted DWG file can be used to write beyond the allocated buffer while parsing DWG files. The vulnerability exists because the application fails to handle a crafted DWG file, which causes an unhandled exception. An attacker can leverage this vulnerability to execute arbitrary code.
CVE-2021-27043 - An Arbitrary Address Write issue in the Autodesk DWG application can allow a malicious user to leverage the application to write in unexpected paths. In order to exploit this the attacker would need the victim to enable full page heap in the application.
CVE-2022-25797 - A Memory Corruption Vulnerability in Autodesk TrueView 2022 and 2021 may lead to remote code execution through maliciously crafted DWG files.
CVE-2022-25795 - A maliciously crafted PDF file in Autodesk AutoCAD 2022, 2021, 2020, 2019 can be used to dereference for a write beyond the allocated buffer while parsing PDF files. The vulnerability exists because the application fails to handle a crafted PDF file, which causes an unhandled exception.
Affected Products
Item
Impacted Versions
Mitigated Versions**
Update Source
AutoCAD®
2022, 2021, 2020, 2019
2022.1.2, 2021.1.2, 2020.1.5, 2019.1.4**
Autodesk Desktop App, or Accounts Portal
AutoCAD® Architecture
2022, 2021, 2020, 2019
2022.1.2, 2021.1.2, 2020.1.5, 2019.1.4***
Autodesk Desktop App, or Accounts Portal
AutoCAD® Electrical
2022, 2021, 2020, 2019
2022.1.2, 2021.1.2, 2020.1.5, 2019.1.4***
Autodesk Desktop App, or Accounts Portal
AutoCAD® Map 3D
2022, 2021, 2020, 2019
2022.1.2, 2021.1.2, 2020.1.5, 2019.1.4***
Autodesk Desktop App, or Accounts Portal
AutoCAD® Mechanical
2022, 2021, 2020, 2019
2022.1.2, 2021.1.2, 2020.1.5, 2019.1.4***
Autodesk Desktop App, or Accounts Portal
AutoCAD® MEP
2022, 2021, 2020, 2019
2022.1.2, 2021.1.2, 2020.1.5, 2019.1.4***
Autodesk Desktop App, or Accounts Portal
AutoCAD® Plant 3D
2022, 2021, 2020, 2019
2022.1.2, 2021.1.2, 2020.1.5, 2019.1.4***
Autodesk Desktop App, or Accounts Portal
AutoCAD® LT
2022, 2021, 2020, 2019
2022.1.2, 2021.1.2, 2020.1.5, 2019.1.4
Autodesk Desktop App, or Accounts Portal
Autodesk® Civil 3D®
2022, 2021, 2020, 2019
2022.1.2, 2021.1.2, 2020.1.5, 2019.1.4***
Autodesk Desktop App, or Accounts Portal
Autodesk® Advance Steel
2022, 2021, 2020, 2019
2022.1.2, 2021.1.2, 2020.1.5, 2019.1.4***
Autodesk Desktop App, or Accounts Portal
AutoCAD® for Mac
2022, 2021, 2020
2022.2.2, 2021.2.2, 2020.3.2
Autodesk Free Viewer
AutoCAD® for Mac LT
2022, 2021, 2020
2022.2.2, 2021.2.2, 2020.3.2
Autodesk Free Viewer
DWGTM TrueView
2022, 2021, 2020, 2019
2022.1.2, 2021.1.2, 2020.1.5, 2019.1.4
Autodesk Free Viewer
*Note: Product list table contents subject to change.
**Note: AutoCAD and AutoCAD LT updates released subsequent to the versions listed in this table will automatically include all previously released security fixes.
***Note: Users of Autodesk Advance Steel, Autodesk Civil 3D, and the specialized toolsets of AutoCAD need to install either the AutoCAD product update(s) listed above or a more recent product version. These security fixes are not included in the updates specific to individual toolsets.
Recommendations
Autodesk strongly recommends users of the 2019, 2020, 2021 and 2022 versions of Autodesk® Advance Steel, Autodesk® Civil 3D®, AutoCAD®, AutoCAD® LT, and AutoCAD-based specialized toolsets listed in the table above should install the latest AutoCAD® or AutoCAD LT 2019-2022 updates, as applicable, via the Autodesk Desktop App, or the Accounts Portal.
An update is not available for 32bit AutoCAD 2019. Customers using this version should plan to upgrade to 64bit AutoCAD 2019 or a newer AutoCAD version as soon as possible to avoid downtime and potential security vulnerabilities. Customers using previous versions that no longer qualify for full support should plan to upgrade to a supported version as soon as possible to avoid downtime and potential security vulnerabilities. Visit the Autodesk Knowledge Network for more information about previous version support.
Acknowledgements
We would like to thank the following for reporting the relevant vulnerabilities and for working with Autodesk to help protect our customers:
- Michael DePlante (@izobashi) of Trend Micro’s Zero Day Initiative for reporting CVE-2021-27040 and CVE-2021-27041.
- Yonghui Han of Fortinet’s FortiGuard Labs for reporting CVE-2021-27040, CVE-2021-27042 and CVE-2021-27043, CVE-2022-27523, CVE-2022-27524.
- Kushal Arvind Shah of Fortinet’s FortiGuard Labs for reporting CVE-2021-27043, CVE-2022-25797
- Mat Powell of Trend Micro Zero Day Initiative for reporting CVE-2021-27040, CVE-2021-27042, CVE-2021-27043, CVE-2021- 40160, CVE-2022-25795
Related Information
More information on related security advisories can be found on the Autodesk Trust Center.
Revision History
Revision
Date
Description
1.0
2/28/2022
Initial Release of Security Advisory
1.1
3/28/2022
Update to Security Advisory for Product Information
Disclaimer
INFORMATION IN THIS DOCUMENT IS PROVIDED “AS IS” IN CONNECTION WITH AUTODESK® PRODUCTS. AUTODESK AND/OR ITS RESPECTIVE SUBSIDIARIES, AFFILIATES, SUPPLIERS AND LICENSORS AND ITS AND THEIR DIRECTORS, OFFICERS, EMPLOYEES, AGENTS AND REPRESENTATIVES MAKE NO REPRESENTATIONS ABOUT THE SITE, ANY PRODUCTS AND SERVICES CONTAINED ON THE SITE OR THE SUITABILITY OF THE INFORMATION CONTAINED IN THE MATERIALS, INFORMATION, CONTENT, DOCUMENTS, AND RELATED GRAPHICS PUBLISHED ON THIS SITE FOR ANY PURPOSE. THE SITE, ANY PRODUCTS OR SERVICES (INCLUDING WITHOUT LIMITATION, THIRD PARTY PRODUCTS AND SERVICES) OBTAINED THROUGH THE SITE, AND ALL SUCH INFORMATION, CONTENT, DOCUMENTS, AND RELATED GRAPHICS ARE PROVIDED FOR YOUR USE AT YOUR OWN RISK AND “AS IS” WITHOUT WARRANTY OF ANY KIND. AUTODESK AND/OR ITS RESPECTIVE SUBSIDIARIES, AFFILIATES, SUPPLIERS AND LICENSORS HEREBY DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THIS SITE, SUCH PRODUCTS AND SERVICES AND SUCH INFORMATION, CONTENT, DOCUMENTS, AND RELATED GRAPHICS, INCLUDING ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE, AND NON-INFRINGEMENT.
© 2022, Autodesk, Inc.
Related news
Gin-vue-admin is a backstage management system based on vue and gin, which separates the front and rear of the full stack. Gin-vue-admin 2.50 has arbitrary file read vulnerability due to a lack of parameter validation. This has been resolved in version 2.5.1. There are no known workarounds for this issue.
Vyper is a pythonic Smart Contract Language for the ethereum virtual machine. In affected versions, the return of `<iface>.returns_int128()` is not validated to fall within the bounds of `int128`. This issue can result in a misinterpretation of the integer value and lead to incorrect behavior. As of v0.3.0, `<iface>.returns_int128()` is validated in simple expressions, but not complex expressions. Users are advised to upgrade. There is no known workaround for this issue.
GeoServer is an open source software server written in Java that allows users to share and edit geospatial data. The GeoServer security mechanism can perform an unchecked JNDI lookup, which in turn can be used to perform class deserialization and result in arbitrary code execution. The same can happen while configuring data stores with data sources located in JNDI, or while setting up the disk quota mechanism. In order to perform any of the above changes, the attack needs to have obtained admin rights and use either the GeoServer GUI, or its REST API. The lookups are going to be restricted in GeoServer 2.21.0, 2.20.4, 1.19.6. Users unable to upgrade should restrict access to the `geoserver/web` and `geoserver/rest` via a firewall and ensure that the GeoWebCache is not remotely accessible.
Gin-vue-admin is a backstage management system based on vue and gin, which separates the front and rear of the full stack. The problem occurs in the following code in server/service/system/sys_auto_code_pgsql.go, which means that PostgreSQL must be used as the database for this vulnerability to occur. Users must: Require JWT login? and be using PostgreSQL to be affected. This issue has been resolved in version 2.5.1. There are no known workarounds.
JAI-EXT is an open-source project which aims to extend the Java Advanced Imaging (JAI) API. Programs allowing Jiffle script to be provided via network request can lead to a Remote Code Execution as the Jiffle script is compiled into Java code via Janino, and executed. In particular, this affects the downstream GeoServer project. Version 1.2.22 will contain a patch that disables the ability to inject malicious code into the resulting script. Users unable to upgrade may negate the ability to compile Jiffle scripts from the final application, by removing janino-x.y.z.jar from the classpath.
GeoTools is an open source Java library that provides tools for geospatial data. The GeoTools library has a number of data sources that can perform unchecked JNDI lookups, which in turn can be used to perform class deserialization and result in arbitrary code execution. Similar to the Log4J case, the vulnerability can be triggered if the JNDI names are user-provided, but requires admin-level login to be triggered. The lookups are now restricted in GeoTools 26.4, GeoTools 25.6, and GeoTools 24.6. Users unable to upgrade should ensure that any downstream application should not allow usage of remotely provided JNDI strings.
A CWE-611: Improper Restriction of XML External Entity Reference vulnerability exists that could result in information disclosure when opening a malicious solution file provided by an attacker with SCADAPack Workbench. This could be exploited to pass data from local files to a remote system controlled by an attacker. Affected Product: SCADAPack Workbench (6.6.8a and prior)
A CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability exists that could cause remote code execution. Affected Product: StruxureWare Data Center Expert (V7.8.1 and prior)
A CWE-502: Deserialization of Untrusted Data vulnerability exists which could allow an attacker to execute arbitrary code on the targeted system with SYSTEM privileges when placing a malicious user to be authenticated for this vulnerability to be successfully exploited. Affected Product: Schneider Electric Software Update (SESU) SUT Service component (V2.1.1 to V2.3.0)
A CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal) vulnerability exists that could cause malicious script to be deployed in an unauthorized location and may result in code execution on the engineering workstation when a malicious project file is loaded in the engineering software. Affected Product: EcoStruxure Control Expert (V15.0 SP1 and prior, including former Unity Pro), EcoStruxure Process Expert (2020 and prior, including former HDCS), SCADAPack RemoteConnect for x70 (All versions)