CVE-2021-34905: 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-14878.
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-34905?
CVE-2021-34905 is rated as high severity due to its potential for remote code execution.
How do I fix CVE-2021-34905?
To mitigate CVE-2021-34905, users should update Bentley View and Bentley MicroStation to version 10.16.02 or later.
Who is affected by CVE-2021-34905?
CVE-2021-34905 affects users of Bentley View version 10.15.0.75 and earlier, as well as Bentley MicroStation versions below 10.16.02.
How can attackers exploit CVE-2021-34905?
Attackers can exploit CVE-2021-34905 by enticing users to visit a malicious webpage or open a compromised file.
Is user interaction required to exploit CVE-2021-34905?
Yes, user interaction is required to exploit CVE-2021-34905, as the target must engage with malicious content.