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
CVE-2021-22204 exiftool rce
Readme
# CVE-2021-22204

## 취약점
exiftool 임의 명령 실행

## 사용법

1. `exploit.py` 파일에서 리버스 쉘 받을 ip, port 설정 후 `docker compose up` 실행
2. docker shell에 접근 후 /root 경로에서 `python3 exploit.py` 파일을 실행할 경우 `image.jpg` 파일 공격 코드 생성
3. 해당 `image.jpg` 파일을 다운로드하여 사용

## 참고
https://ine.com/blog/exiftool-command-injection-cve-2021-22204-exploitation-and-prevention-strategies
https://github.com/convisolabs/CVE-2021-22204-exiftool
File Snapshot

[4.0K] /data/pocs/dedc066c5bd6d85d0361428e67c4ef274c93b0a9 ├── [ 468] configfile ├── [ 138] docker-compose.yml ├── [ 339] Dockerfile ├── [ 786] exploit.py ├── [ 46K] image.jpg └── [ 536] README.md 1 directory, 6 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.