POC详情: 498c617a7a064efa459f56f8eaa4184c83ef617c

来源
关联漏洞
标题: exiftool 代码注入漏洞 (CVE-2021-22204)
描述:exiftool是一个应用软件。使元数据更易于访问。 ExifTool 7.44版本及之前版本存在代码注入漏洞,该漏洞允许在解析恶意图像时任意执行代码。
介绍
# 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`
文件快照

[4.0K] /data/pocs/498c617a7a064efa459f56f8eaa4184c83ef617c ├── [ 670] createFile.sh ├── [1.0K] LICENSE └── [ 732] README.md 0 directories, 3 files
神龙机器人已为您缓存
备注
    1. 建议优先通过来源进行访问。
    2. 如果因为来源失效或无法访问,请发送邮箱到 f.jinxu#gmail.com 索取本地快照(把 # 换成 @)。
    3. 神龙已为您对POC代码进行快照,为了长期维护,请考虑为本地POC付费,感谢您的支持。