CVE-2021-46643: Bentley View DGN File Parsing Stack-based Buffer Overflow Remote Code Execution Vulnerability
This vulnerability allows remote attackers to execute arbitrary code on affected installations of Bentley View 10.15.0.75. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within the parsing of DGN files. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-15515.
Other sources
This vulnerability allows remote attackers to execute arbitrary code on affected installations of Bentley View. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within the parsing of DGN files. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process.
— ZDI
Affected Software
Event History
Frequently Asked Questions
What is the vulnerability ID for this Bentley View vulnerability?
The vulnerability ID for this Bentley View vulnerability is CVE-2021-46643.
What is the severity rating of CVE-2021-46643?
The severity rating of CVE-2021-46643 is 7.8 (high).
How can remote attackers exploit CVE-2021-46643?
Remote attackers can exploit CVE-2021-46643 by executing arbitrary code on affected installations of Bentley View 10.15.0.75.
Is user interaction required to exploit CVE-2021-46643?
Yes, user interaction is required to exploit CVE-2021-46643. The target must visit a malicious page or open a malicious file.
What software versions are affected by CVE-2021-46643?
Bentley MicroStation and Bentley View versions up to and exclusive of 10.16.02 are affected by CVE-2021-46643.
What is the Common Weakness Enumeration (CWE) ID for this vulnerability?
The CWE ID for this vulnerability is CWE-121.