CVE-2021-25178: Siemens JT2Go DWG File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability

Published Jan 18, 2021
·
Updated

An issue was discovered in Open Design Alliance Drawings SDK before 2021.11. A stack-based buffer overflow vulnerability exists when the recover operation is run with malformed .DXF and .DWG files. This can allow attackers to cause a crash potentially enabling a denial of service attack (Crash, Exit, or Restart) or possible code execution.

Other sources

This vulnerability allows remote attackers to disclose sensitive information on affected installations of Siemens JT2Go. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within the parsing of DWG files. The issue results from the lack of proper validation of user-supplied data, which can result in a read past the end of an allocated buffer. An attacker can leverage this in conjunction with other vulnerabilities to execute arbitrary code in the context of the current process.

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Siemens JT2Go. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within the parsing of DXF and DWG files. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process.

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Siemens JT2Go. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within the processing of DWG files. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process.

Affected Software

7 affected componentsFixes available
Siemens JT2Go
Siemens JT2Go<13.1.0.1
13.1.0.1
Siemens Teamcenter Visualization<13.1.0.1
13.1.0.1
Opendesign Drawings Software Development Kit<2021.11
Siemens COMOS<10.4.1
Siemens JT2Go<13.1.0.1
Siemens Teamcenter Visualization<13.1.0.1

Event History

Jan 18, 2021
CVE Published
via MITRE·07:12 AM
Data Sourced
via MITRE·07:12 AM
Description
Aug 3, 2024
Advisory Published
via ZDI·08:02 PM

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2021-25178?

The severity of CVE-2021-25178 is high with a CVSS score of 7.8.

2

How can remote attackers exploit CVE-2021-25178?

Remote attackers can exploit CVE-2021-25178 by having the target visit a malicious page or open a malicious file that triggers the vulnerability.

3

Which software is affected by CVE-2021-25178?

Siemens JT2Go, Opendesign Drawings Software Development Kit, Siemens COMOS, and Siemens Teamcenter Visualization are affected by CVE-2021-25178.

4

How can I fix CVE-2021-25178?

Apply the latest security updates or patches provided by Siemens to mitigate the vulnerability in the affected software.

5

Are there any references for CVE-2021-25178?

Yes, you can refer to the following links for more information: [US-CERT Advisory](https://us-cert.cisa.gov/ics/advisories/icsa-21-040-06), [Zero Day Initiative Advisory 1](https://www.zerodayinitiative.com/advisories/ZDI-21-240/), [Zero Day Initiative Advisory 2](https://www.zerodayinitiative.com/advisories/ZDI-21-243/).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203