Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

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

Source
Associated Vulnerability
Title:Mozilla Firefox 安全漏洞 (CVE-2024-4367)
Description:Mozilla Firefox是美国Mozilla基金会的一款开源Web浏览器。 Mozilla Firefox 126 版本之前存在安全漏洞,该漏洞源于处理 PDF.js 中的字体时缺少类型检查,这将允许在 PDF.js 环境中执行任意 JavaScript。
Description
POC for PDF JS' CVE-2024-4367 vuln
Readme
# CVE-2024-4367 POC for PDF.js

POC for PDF.js' CVE-2024-4367 vuln - The pdf-modify.py script can be used to modify your PDFs and inject payloads.

## Usage

1. Ensure `CVE-2024-4367-POC-base-placeholder.pdf` is in the working directory.
2. Uncomment/modify the `payload_new` variable in `pdf-modify.py`.
3. Run it, `python pdf-modify.py`. No args needed.
4. You'll see a new PDF in the local dir with timestamped suffix.

## Related references

- https://codeanlabs.com/blog/research/cve-2024-4367-arbitrary-js-execution-in-pdf-js/
- https://github.com/DidierStevens/DidierStevensSuite/blob/master/pdf-parser.py
- https://swisskyrepo.github.io/InternalAllTheThings/cheatsheets/shell-reverse-cheatsheet/#nodejs

## License

Licensed under the [MIT License](LICENSE).
File Snapshot

[4.0K] /data/pocs/1bf0dfaa567617e9a83e337a97ac0a8b2de2a573 ├── [ 20K] CVE-2024-4367-POC-base-placeholder.pdf ├── [1.0K] LICENSE ├── [3.3K] pdf-modify.py └── [ 767] README.md 0 directories, 4 files
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. If the original source is unavailable, please email f.jinxu#gmail.com for a local snapshot (replace # with @).
    3. Shenlong has snapshotted the POC code for you. To support long-term maintenance, please consider donating. Thank you for your support.