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

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Source
Associated Vulnerability
Title: exiftool 代码注入漏洞 (CVE-2021-22204)
Description:Improper neutralization of user data in the DjVu file format in ExifTool versions 7.44 and up allows arbitrary code execution when parsing the malicious image
Readme
# CVE-2021-22204 - Exiftool Remote Code Execution

## Description

Recently, the researcher wcbowling found a vulnerability in the Exiftool tool, that enabled a malicious actor to perform a Remote code Execution attack. This vulnerability was found in the Gitlab bug bounty program, where they use this tool as dependency for their product.

## Usage

In line 12 (createFile.sh), put your own attacker machine IP address. 

![image](https://user-images.githubusercontent.com/57206134/127836658-fbcb47c3-f0fa-40bc-b975-e80ba355870d.png)

Then simply execute:

`$ bash createFile.sh`

This will create the malicious file `shell.djvu`. By using exiftool, you can get remote code execution:

`$ sudo /usr/local/bin/exiftool shell.djvu`
File Snapshot

Log in to view the POC file snapshot cached by Shenlong Bot

Log in to view
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 →