Advisory Details

June 30th, 2022

Tencent WeChat WXAM Decoder Heap-based Buffer Overflow Remote Code Execution Vulnerability

ZDI-22-938
ZDI-CAN-16211

CVE ID
CVSS SCORE 8.8, AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
AFFECTED VENDORS Tencent
AFFECTED PRODUCTS WeChat
VULNERABILITY DETAILS

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Tencent WeChat. 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 WXAM decoder. 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.

ADDITIONAL DETAILS

Fixed in version 8.0.22


DISCLOSURE TIMELINE
  • 2021-12-30 - Vulnerability reported to vendor
  • 2022-06-30 - Coordinated public release of advisory
CREDIT Lucas Leong (@_wmliang_) of Trend Micro Zero Day Initiative
BACK TO ADVISORIES