Mozilla Firefox textPath Element Use-After-Free Remote Code Execution Vulnerability
Vulnerability Details
This vulnerability allows remote attackers to execute arbitrary code on affected installations of Mozilla Firefox. 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 handling of textPath elements. 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
Mozilla has issued an update to correct this vulnerability. More details can be found at:
https://www.mozilla.org/en-US/security/advisories/mfsa2022-11/#CVE-2022-26381
Disclosure Timeline
- 2022-02-23 - Vulnerability reported to vendor
- 2022-03-09 - Coordinated public release of advisory
Credit
Hossein Lotfi of Trend Micro Zero Day Initiative