CVE-2021-34904: Bentley View DGN File Parsing Heap-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 heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-14877.
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 heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2021-34904?
CVE-2021-34904 has a critical severity rating due to its potential for remote code execution.
How do I fix CVE-2021-34904?
To fix CVE-2021-34904, users should upgrade Bentley View or MicroStation to version 10.16.02 or later.
Who is affected by CVE-2021-34904?
CVE-2021-34904 affects users of Bentley View versions prior to 10.16.02 and Bentley MicroStation versions prior to 10.16.02.
What types of attacks can exploit CVE-2021-34904?
CVE-2021-34904 can be exploited through remote code execution attacks that require user interaction with a malicious page or file.
Is user interaction necessary to exploit CVE-2021-34904?
Yes, user interaction is required to exploit CVE-2021-34904 as the target must open a malicious file or visit a malicious web page.