CVE-2021-34871: Bentley View BMP 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 BMP 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-14695.
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 BMP 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-34871?
The severity of CVE-2021-34871 is rated as critical due to its potential for remote code execution.
How do I fix CVE-2021-34871?
To fix CVE-2021-34871, upgrade Bentley View and MicroStation to versions greater than 10.16.02.
What are the affected versions for CVE-2021-34871?
CVE-2021-34871 affects Bentley View version 10.15.0.75 and MicroStation versions up to 10.16.02.
What type of attacks does CVE-2021-34871 allow?
CVE-2021-34871 allows remote attackers to execute arbitrary code if the user interacts with a malicious page or file.
Is user interaction required to exploit CVE-2021-34871?
Yes, user interaction is required to exploit CVE-2021-34871 by visiting a malicious webpage or opening a malicious file.