BE-2022-0004: DGN File Parsing Out-of-bounds vulnerabilities in MicroStation and MicroStation-based applications

Bentley ID: BE-2022-0004
CVE ID: CVE-2021-46646, CVE-2022-28642, CVE-2022-28643, CVE-2022-28644, CVE-2022-28645
Severity: 7.8 (High)
CVSS v3.1:  AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Publication date: 5th April 2022
Revision date:  5th April 2022


Description

Summary:

MicroStation and MicroStation-based applications are affected by DGN file parsing out-of-bounds vulnerabilities when opening maliciously crafted DGN files. Exploiting these vulnerabilities lead to arbitrary code execution.

Details:

The following vulnerabilities related to this advisory were discovered by TrendMicro ZDI: ZDI-CAN-15532, ZDI-CAN-16424, ZDI-CAN-16468, ZDI-CAN-16469 and ZDI-CAN-16470

Using an affected version of MicroStation or MicroStation-based application to open a DGN file containing maliciously crafted data can force an out-of-bounds read or write. Exploitation of these vulnerabilities within the parsing of DGN files enable an attacker to execute arbitrary code in the context of the current process. 

 

Affected Versions:


Applications Affected Versions Mitigated Versions
MicroStation 10.16.02.* and prior version 10.16.03.* and more recent
Bentley View 10.16.02.* and prior version 10.16.03.* and more recent

Recommended Mitigations

Bentley recommends updating to the latest versions of MicroStation and MicroStation-based applications. As a general best practice, it is also recommended to only open DGN files coming from trusted sources.


Acknowledgement

Thanks to Mat Powell of Trend Micro Zero Day Initiative for discovering these vulnerabilities.

Revision History

Date Description
5th April 2022 First version of the advisory