All Advisories / BE-2022-0018

BE-2022-0018

BE-2022-0018: XMT File Parsing Out-of-bounds and Stack Overflow vulnerabilities in MicroStation and MicroStation-based applications

Bentley ID: BE-2022-0018
CVE ID: CVE-2022-42901
Severity: 7.8
CVSS v3.1: AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Publication date: 2022-10-12
Revision date: 2022-10-12

Summary
MicroStation and MicroStation-based applications may be affected by out-of-bounds and stack overflow vulnerabilities when opening maliciously crafted XMT files. Exploiting these vulnerabilities could lead to information disclosure and code execution.

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

Affected Versions

Applications Affected Versions Mitigated Versions
MicroStation 10.17.0.* and prior versions 10.17.01.58* and more recent
Bentley View 10.17.0.* and prior versions 10.17.01.19 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 XMT files coming from trusted sources.

Acknowledgement
Thanks to xina1i for discovering these vulnerabilities.

Revision History

Date Description
2022-10-12 First version of this advisory
2022-10-13 Adding CVE number

Celebrate Infrastructure Delivery & Performance Excellence

The 2024 Year in Infrastructure
and Going Digital Awards

Nominate a project for the most prestigious awards in infrastructure! Extended deadline to enter is April 29th.