Common Vulnerability Exposure BE-2021-0009

BE-2021-0009: Out-of-bounds vulnerabilities in MicroStation and MicroStation-based applications

Bentley ID: BE-2021-0009
CVE ID: CVE-2021-34897, CVE-2021-34904, CVE-2021-34905, CVE-2021-34910, CVE-2021-34914, CVE-2021-46589, CVE-2021-46635, CVE-2021-46636, CVE-2021-46637, CVE-2021-46638, CVE-2021-46639, CVE-2021-46640, CVE-2021-46641, CVE-2021-46642, CVE-2021-46643, CVE-2021-46644, CVE-2021-46646, CVE-2021-46648, CVE-2021-46649, CVE-2021-46650, CVE-2021-46651, CVE-2021-46652, CVE-2021-46654
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: 7th December 2021
Revision date: 4th February 2022

Summary

MicroStation and MicroStation-based applications may be affected by out-of-bounds vulnerabilities when opening maliciously crafted DGN files. Exploiting these vulnerabilities could lead to code execution.

Details

The following vulnerabilities related to this advisory were discovered by TrendMicro ZDI: ZDI-CAN-14864, ZDI-CAN-14877, ZDI-CAN-14878, ZDI-CAN-14883, ZDI-CAN-14892, ZDI-CAN-15383, ZDI-CAN-15507, ZDI-CAN-15508, ZDI-CAN-15509, ZDI-CAN-15510, ZDI-CAN-15511, ZDI-CAN-15512, ZDI-CAN-15513, ZDI-CAN-15514, ZDI-CAN-15515, ZDI-CAN-15530, ZDI-CAN-15532, ZDI-CAN-15534, ZDI-CAN-15535, ZDI-CAN-15536, ZDI-CAN-15537, ZDI-CAN-15538, ZDI-CAN-15540.

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 could enable an attacker to execute arbitrary code in the context of the current process.  

Affected Versions

ApplicationsAffected VersionsMitigated Versions
MicroStationVersions prior to 10.16.02.*10.16.02.* and more recent
Bentley ViewVersions prior to 10.16.02.*10.16.02.* 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

DateDescription
7th December 2021First version of the advisory
4th February 2022Adding new CVE numbers provided by ZDI