Advisory Details

August 5th, 2022

Foxit PDF Reader AFSpecial_KeystrokeEx Use-After-Free Remote Code Execution Vulnerability

ZDI-22-1053
ZDI-CAN-17110

CVE ID CVE-2022-37381
CVSS SCORE 7.8, AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
AFFECTED VENDORS Foxit
AFFECTED PRODUCTS PDF Reader
VULNERABILITY DETAILS

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit PDF Reader. 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 AFSpecial_KeystrokeEx method. The issue results from the lack of validating the existence of an object prior to performing operations on the object. An attacker can leverage this vulnerability to execute code in the context of the current process.

ADDITIONAL DETAILS Foxit has issued an update to correct this vulnerability. More details can be found at:
https://www.foxit.com/support/security-bulletins.html
DISCLOSURE TIMELINE
  • 2022-05-16 - Vulnerability reported to vendor
  • 2022-08-05 - Coordinated public release of advisory
  • 2023-04-27 - Advisory Updated
CREDIT Suyue Guo and Wei You from Renmin University of China
BACK TO ADVISORIES