Common Vulnerability Exposure BE-2022-0006

BE-2022-0006: IFC File Parsing Vulnerabilities in MicroStation and MicroStation-based applications

Bentley ID: BE-2022-0006
CVE ID: CVE-2022-28314, CVE-2022-28315, CVE-2022-28316, CVE-2022-28317, CVE-2022-28318, CVE-2022-28641, CVE-2022-28301, CVE-2022-28302, CVE-2022-28646, CVE-2022-28647, CVE-2022-1229
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

Summary

MicroStation and MicroStation-based applications may be affected by IFC file parsing vulnerabilities when opening maliciously crafted IFC files. Exploiting these vulnerabilities could lead to code execution.

Details

The following vulnerabilities related to this advisory were discovered by TrendMicro ZDI: ZDI-CAN-16332, ZDI-CAN-16367, ZDI-CAN-16368, ZDI-CAN-16369, ZDI-CAN-16379, ZDI-CAN-16390, ZDI-CAN-16392, ZDI-CAN-16446, ZDI-CAN-16570, ZDI-CAN-16573 and ZDI-CAN-16581

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

Affected Versions

ApplicationsAffected VersionsMitigated Versions
MicroStation10.16.02.* and prior version10.16.03.* and more recent
Bentley View10.16.02.* and prior version10.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 IFC files coming from trusted sources.

Acknowledgement

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

Revision History

DateDescription
5th April 2022First version of the advisory