All Advisories / BE-2022-0007

BE-2022-0007

BE-2022-0007: JP2 File Parsing Out-of-bounds Write in MicroStation and MicroStation-based applications

Bentley ID: BE-2022-0007
CVE ID: CVE-2022-28300
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-04-05
Revision date: 2022-04-05

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

Details
The following vulnerabilities related to this advisory were discovered by TrendMicro ZDI: ZDI-CAN-16202. Using an affected version of MicroStation or MicroStation-based application to open a JP2 file containing maliciously crafted data can force an out-of-bounds write. Exploitation of this vulnerability within the parsing of JP2 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.16.02.* and prior versions 10.16.03.* and more recent
Bentley View 10.16.02.* and prior versions 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 JP2 files coming from trusted sources.

Acknowledgement
Thanks to Anonymous working with Trend Micro Zero Day Initiative for finding this vulnerability.

Revision History

Date Description
2022-04-05 First version of this advisory

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.