目標達成 すべての支援者に感謝 — 100%達成しました!

目標: 1000 CNY · 調達済み: 1359 CNY

100%

CVE-2024-4367 PoC — Mozilla Firefox 安全漏洞

ソース
関連脆弱性
タイトル: Mozilla Firefox 安全漏洞 (CVE-2024-4367)
説明:Mozilla Firefox是美国Mozilla基金会的一款开源Web浏览器。 Mozilla Firefox 126 版本之前存在安全漏洞,该漏洞源于处理 PDF.js 中的字体时缺少类型检查,这将允许在 PDF.js 环境中执行任意 JavaScript。
説明
CVE-2024-4367 & CVE-2024-34342 Proof of Concept
Readme
# CVE-2024-4367 & CVE-2024-34342: Arbitrary JavaScript execution in PDF.js

A type check was missing when handling fonts in PDF.js, which would allow arbitrary JavaScript execution in the PDF.js context. This vulnerability affects Firefox < 126, Firefox ESR < 115.11, and Thunderbird < 115.11.

If pdf.js is used to load a malicious PDF, and PDF.js is configured with isEvalSupported set to true (which is the default value), unrestricted attacker-controlled JavaScript will be executed in the context of the hosting domain.

- JS Execution
```
python3 CVE-2024-4367.py "alert(document.domain)"
```

![PoC_JS](./result_js.png)

- OS Command Execution (only Electron based)
```
python3 CVE-2024-4367.py "require('child_process').exec('open -a /Applications/Calculator.app');"
```

![PoC_OS](./result_os.png)


This is not my bug, I just made a PoC for it.

# Reference

- https://github.com/advisories/GHSA-wgrm-67xf-hhpq
- https://nvd.nist.gov/vuln/detail/CVE-2024-4367
ファイルスナップショット

登录后查看神龙缓存的 POC 文件快照

登录查看
備考
    1. まず元のソースからアクセスすることをお勧めします。
    2. ローカル POC スナップショットはサブスクリバー専用です。元のソースが利用できない場合、ローカルミラーは有料プランに含まれます。
    3. この POC アーカイブのミラーリング、検証、維持には継続的な作業が必要です。そのため、ローカルスナップショットは有料機能となっています。サブスクリプションがアーカイブのオンライン維持を支えています。ご支援ありがとうございます。 サブスクリプションプランを見る →