Advisory Details

December 7th, 2021

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

ZDI-21-1458
ZDI-CAN-13513

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 fixed-length stack-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.10


DISCLOSURE TIMELINE
  • 2021-03-26 - Vulnerability reported to vendor
  • 2021-12-07 - Coordinated public release of advisory
  • 2021-12-08 - Advisory Updated
CREDIT Mickey Jin (@patch1t) of Trend Micro
BACK TO ADVISORIES