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

Goal: 1000 CNY · Raised: 1020 CNY

100%

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

Source
Associated Vulnerability
Title:Mozilla Firefox 安全漏洞 (CVE-2024-4367)
Description: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.
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. Local POC snapshots are reserved for subscribers — if the original source is unavailable, the local mirror is part of the paid plan.
    3. Mirroring, verifying, and maintaining this POC archive takes ongoing effort, so local snapshots are a paid feature. Your subscription keeps the archive online — thank you for the support. View subscription plans →