Vulnerabilities > CVE-2021-34858 - Out-of-bounds Read vulnerability in Teamviewer
Summary
This vulnerability allows remote attackers to execute arbitrary code on affected installations of TeamViewer. 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 TVS files. The issue results from the lack of proper validation of user-supplied data, which can result in a read past the end of an allocated structure. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-13606.
Vulnerable Configurations
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- Overread Buffers An adversary attacks a target by providing input that causes an application to read beyond the boundary of a defined buffer. This typically occurs when a value influencing where to start or stop reading is set to reflect positions outside of the valid memory location of the buffer. This type of attack may result in exposure of sensitive information, a system crash, or arbitrary code execution.
References
- https://community.teamviewer.com/English/discussion/117794/august-updates-security-patches/p1
- https://community.teamviewer.com/English/discussion/117794/august-updates-security-patches/p1
- https://www.zerodayinitiative.com/advisories/ZDI-21-1001/
- https://www.zerodayinitiative.com/advisories/ZDI-21-1001/