Arbitrary JavaScript Execution Vulnerability in Firefox
Key Information
- Vendor
- Mozilla
- Status
- Firefox
- Firefox Esr
- Thunderbird
- Vendor
- CVE Published:
- 14 May 2024
Badges
Summary
A critical vulnerability, CVE-2024-4367, has been discovered in Firefox, affecting versions <126 as well as Thunderbird <115.11. The vulnerability allows for arbitrary JavaScript execution in the PDF.js context, impacting not only Firefox users but also web- and Electron-based applications that use PDF.js for preview functionality. Exploiting this vulnerability can lead to an attacker executing remote code, which could result in data leaks, malicious actions, or even account takeovers in affected applications. The best mitigation is to update to PDF.js version 4.2.67 or higher, with wrapper libraries like react-pdf also issuing patched versions. Setting the PDF.js setting isEvalSupported to false provides a simple workaround, and a strict content-security policy can also prevent the vulnerability. The issue was disclosed to Mozilla on April 26, 2024, and a fix was released on April 29, with updated versions of Firefox, Firefox ESR, and Thunderbird released on May 14 to include the fixed version of PDF.js.
Affected Version(s)
Firefox < 126
Firefox ESR < 115.11
Thunderbird < 115.11
Exploit Proof of Concept (PoC)
PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.
News Articles
Firefox用於存取PDF檔案的元件存在弱點,有可能被用於執行任意JavaScript程式碼
上週研究人員對於Mozilla基金會在Firefox 126修補的PDF.js漏洞CVE-2024-4367提出說明,並指出這項漏洞與字型處理有關,攻擊者有機會用來執行任意JavaScript程式碼
6 months ago
PoC Released for JavaScript execution Vulnerability in PDF.js
A vulnerability, identified as CVE-2024-4367, PDF.js, was discovered in a widely used JavaScript-based PDF viewer maintained by Mozilla.
6 months ago
Researchers Uncover Flaws in Python Package for AI Models and PDF.js Used by Firefox
Researchers uncover critical security flaws in two widely used software packages, llama_cpp_python for AI models and PDF.js used by the Firefox.
6 months ago
Timeline
- 👾
Exploit exists.
- 🔥
Vulnerability reached the number 1 worldwide trending spot.
Vulnerability started trending.
Vulnerability published.
First article discovered by GBHackers on Security
Vulnerability Reserved.