Exploit database

Vulnerability

CVE-2021-22204

Vulnerability details

Score
6.8
Severity
medium

CVSS 3.1 · GitLab

Vector string

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L

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

CVE Program

Exploit source choices

25 sources
ExifTool DjVu ANT Perl injection
MSF-unix--fileformat--exiftool_djvu_ant_perl_injectionMetasploitUnix / remote

This module exploits a Perl injection vulnerability in the DjVu ANT parsing code of ExifTool versions 7.44 through 12.23 inclusive. The injection is used to execute a shell command using Perl backticks. The DjVu image can be embedded in a wrapper image using the HasselbladExif EXIF field.

2021-05-24exiftool_djvu_ant_perl_injection.rb
GitLab Unauthenticated Remote ExifTool Command Injection
MSF-multi--http--gitlab_exif_rceMetasploitLinux,Unix / remote

This module exploits an unauthenticated file upload and command injection vulnerability in GitLab Community Edition (CE) and Enterprise Edition (EE). The patched versions are 13.10.3, 13.9.6, and 13.8.8. Exploitation will result in command execution as the git user.

2021-04-14gitlab_exif_rce.rb
0xsyr0/oscp
GH-1e9613ea0d155c33d16520580dbed873GitHubUnofficial GitHub source

OSCP Cheat Sheet

2021-10-2262 files · 3,887 stars
al1ex/cve-2021-22205
GH-61b254557c9aad109cace90f41d7cbbdGitHubUnofficial GitHub source

CVE-2021-22205& GitLab CE/EE RCE

2021-10-2914 files · 286 stars
mr-r3bot/gitlab-cve-2021-22205
GH-b42850d4ad318212ef977336211875cdGitHubUnofficial GitHub source

mr-r3bot/gitlab-cve-2021-22205 source repository

2021-06-053 files · 180 stars
convisolabs/cve-2021-22204-exiftool
GH-6e6451f7eec18c25f7a046ef37d1e155GitHubUnofficial GitHub source

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

2021-05-117 files · 96 stars
csenox/gitlab-exiftool-rce
GH-1d9a47249893af1c0e4d4373e0277c31GitHubUnofficial GitHub source

RCE Exploit for Gitlab < 13.10.3

2021-06-042 files · 61 stars
unicordev/exploit-cve-2021-22204
GH-210882fbd431d16f3e962010e1780a8cGitHubUnofficial GitHub source

Exploit for CVE-2021-22204 (ExifTool) - Arbitrary Code Execution

2022-04-165 files · 55 stars
darkfunct/cve_exploits
GH-cfc083635c2e7b2fb5b9a160e9d4d111GitHubUnofficial GitHub source

CVE Exploit PoC's

2021-09-295,464 files · 34 stars
assassinukg/cve-2021-22204
GH-976f78a9f3d5933a7f7c54e78a4fbe8cGitHubUnofficial GitHub source

assassinukg/cve-2021-22204 source repository

2021-08-022 files · 28 stars
se162xg/cve-2021-22204
GH-0fc9e975e0534d230b853a18e6c3a73cGitHubUnofficial GitHub source

exiftool arbitrary code execution vulnerability

2021-05-123 files · 12 stars
bilkoh/poc-cve-2021-22204
GH-534b40d8ccbf4a273d809e13ce69d292GitHubUnofficial GitHub source

POC for exiftool vuln (CVE-2021-22204).

2021-05-212 files · 8 stars
akash7350/cve-2021-22204
GH-988cfedbce5c2c043400b759c8c15d8bGitHubUnofficial GitHub source

akash7350/cve-2021-22204 source repository

2023-05-142 files · 5 stars
pentestical/cve-2021-22204
GH-e60fd1b080a3066700cfe4dcbe0dcca4GitHubUnofficial GitHub source

pentestical/cve-2021-22204 source repository

2021-08-023 files · 3 stars
runsel/gitlab-cve-2021-22205-
GH-9951b2d233a10f8638b1aa65d6e947d4GitHubUnofficial GitHub source

Exploit for GitLab CVE-2021-22205 Unauthenticated Remote Code Execution

2021-11-053 files · 3 stars
0xbruno/cve-2021-22204
GH-f59f46a0960c0e6718089d2f5a1c1017GitHubUnofficial GitHub source

A complete PoC for CVE-2021-22204 exiftool RCE

2022-01-303 files · 2 stars
ph-arm/cve-2021-22204-gitlab
GH-1fc78109a79f414e5fe2b4d9fb2ad8c5GitHubUnofficial GitHub source

Modification of gitlab exploit anything under 13.10

2021-11-042 files · 2 stars
d4ytox/cve-2021-22204
GH-b37407f240077ba639034f67d1a76a47GitHubUnofficial GitHub source

ExifTool arbitrary code execution via a crafted DjVu image (versions 7.44 to 12.23). PoC builds a pure DjVu payload with djvumake, so the attacker machine needs no vulnerable ExifTool.

2026-06-134 files · 1 stars
battleofthebots/dejavu
GH-ab7a39782cfb251a9aaaec6806003428GitHubUnofficial GitHub source

Challenge based on CVE-2021-22204 where users send a malicious file to a web application to gain RCE

2023-07-257 files · 0 stars
cc3305/cve-2021-22204
GH-4813e32b2d84d61ef92c90a6a93f5e9dGitHubUnofficial GitHub source

CVE-2021-22204 exploit script

2024-06-074 files · 0 stars