CVE-2021-22205
GitLab Community and Enterprise Editions Remote Co - [Actively Exploited]
Description
An issue has been discovered in GitLab CE/EE affecting all versions starting from 11.9. GitLab was not properly validating image files that were passed to a file parser which resulted in a remote command execution.
INFO
Published Date :
April 23, 2021, 6:15 p.m.
Last Modified :
July 12, 2022, 5:42 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
6.0
Exploitability Score :
3.9
CISA KEV (Known Exploited Vulnerabilities)
For the benefit of the cybersecurity community and network defenders—and to help every organization better manage vulnerabilities and keep pace with threat activity—CISA maintains the authoritative source of vulnerabilities that have been exploited in the wild.
GitHub Community and Enterprise Editions that utilize the ability to upload images through GitLab Workhorse are vulnerable to remote code execution. Workhorse passes image file extensions through ExifTool, which improperly validates the image files.
Apply updates per vendor instructions.
Public PoC/Exploit Available at Github
CVE-2021-22205 has a 89 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2021-22205
.
URL | Resource |
---|---|
http://packetstormsecurity.com/files/164768/GitLab-Unauthenticated-Remote-ExifTool-Command-Injection.html | Exploit Third Party Advisory VDB Entry |
http://packetstormsecurity.com/files/164994/GitLab-13.10.2-Remote-Code-Execution.html | Exploit Third Party Advisory VDB Entry |
https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22205.json | Vendor Advisory |
https://gitlab.com/gitlab-org/gitlab/-/issues/327121 | Broken Link |
https://hackerone.com/reports/1154542 | Permissions Required Third Party Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
Latest CVEs with their Proof of Concept exploits.
Python
CVE-2021-22205 exploit script
Python
All CVE - PoC in GitHub
poc proofofconcept tester allcve cvegithub cvenew cvepoc cveupdate
None
渗透测试有关的POC、EXP、脚本、提权、小工具等---About penetration-testing python-script poc getshell csrf xss cms php-getshell domainmod-xss csrf-webshell cobub-razor cve rce sql sql-poc poc-exp bypass oa-getshell cve-cms
Assembly Python Shell PHP C++ C Go Ruby HTML Java
None
cve-2001-1473
0day exploits poc security
This repository is made for my submission of the final project in CS 4770
Python
A simple bash script that exploits CVE-2021-22205 against vulnerable instances of gitlab
Shell
bounty collection
Shell Python Dockerfile Ruby JavaScript ASP.NET Classic ASP HTML PHP Jupyter Notebook
None
None
Shell
在公网收集的gobypoc+部分自己加的poc
None
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2021-22205
vulnerability anywhere in the article.
- security.nl
VS publiceert overzicht van meest misbruikte kwetsbaarheden in 2023
De Amerikaanse autoriteiten hebben samen met cyberagentschappen uit Australië, Canada, Nieuw-Zeeland en het Verenigd Koninkrijk een overzicht van de meest misbruikte kwetsbaarheden in 2023 opgesteld. ... Read more
- Help Net Security
Number of incidents affecting GitHub, Bitbucket, GitLab, and Jira continues to rise
Outages, human errors, cyberattacks, data breaches, ransomware, security vulnerabilities, and, as a result, data loss are the reality that DevSecOps teams have to face every few days, according to Git ... Read more
- 360 Netlab Blog - Network Security Research Lab at 360
Fodcha, a new DDos botnet
OverviewRecently, CNCERT and 360netlab worked together and discovered a rapidly spreading DDoS botnet on the Internet. The global infection looks fairly big as just in China there are more than 10,000 ... Read more
The following table lists the changes that have been made to the
CVE-2021-22205
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CWE Remap by [email protected]
Jul. 12, 2022
Action Type Old Value New Value Changed CWE CWE-20 CWE-94 -
Modified Analysis by [email protected]
Nov. 30, 2021
Action Type Old Value New Value Removed CVSS V2 NIST (AV:N/AC:L/Au:S/C:P/I:P/A:P) Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:P/I:P/A:P) Removed CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H Changed Reference Type http://packetstormsecurity.com/files/164768/GitLab-Unauthenticated-Remote-ExifTool-Command-Injection.html No Types Assigned http://packetstormsecurity.com/files/164768/GitLab-Unauthenticated-Remote-ExifTool-Command-Injection.html Exploit, Third Party Advisory, VDB Entry Changed Reference Type http://packetstormsecurity.com/files/164994/GitLab-13.10.2-Remote-Code-Execution.html No Types Assigned http://packetstormsecurity.com/files/164994/GitLab-13.10.2-Remote-Code-Execution.html Exploit, Third Party Advisory, VDB Entry -
CVE Modified by [email protected]
Nov. 17, 2021
Action Type Old Value New Value Added Reference http://packetstormsecurity.com/files/164994/GitLab-13.10.2-Remote-Code-Execution.html [No Types Assigned] Added Reference http://packetstormsecurity.com/files/164768/GitLab-Unauthenticated-Remote-ExifTool-Command-Injection.html [No Types Assigned] -
CVE Modified by [email protected]
Nov. 10, 2021
Action Type Old Value New Value Removed Reference http://packetstormsecurity.com/files/164768/GitLab-Unauthenticated-Remote-ExifTool-Command-Injection.html [No Types Assigned] -
CVE Modified by [email protected]
Nov. 04, 2021
Action Type Old Value New Value Added Reference http://packetstormsecurity.com/files/164768/GitLab-Unauthenticated-Remote-ExifTool-Command-Injection.html [No Types Assigned] -
CVE Modified by [email protected]
Sep. 22, 2021
Action Type Old Value New Value Removed CVSS V3.1 GitLab Inc. AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H Added CVSS V3.1 GitLab Inc. AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H -
Initial Analysis by [email protected]
Apr. 30, 2021
Action Type Old Value New Value Added CVSS V2 NIST (AV:N/AC:L/Au:S/C:P/I:P/A:P) Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H Changed Reference Type https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22205.json No Types Assigned https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22205.json Vendor Advisory Changed Reference Type https://gitlab.com/gitlab-org/gitlab/-/issues/327121 No Types Assigned https://gitlab.com/gitlab-org/gitlab/-/issues/327121 Broken Link Changed Reference Type https://hackerone.com/reports/1154542 No Types Assigned https://hackerone.com/reports/1154542 Permissions Required, Third Party Advisory Added CWE NIST CWE-20 Added CPE Configuration OR *cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:* versions from (including) 11.9.0 up to (excluding) 13.8.8 *cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:* versions from (including) 11.9.0 up to (excluding) 13.8.8 *cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:* versions from (including) 13.9.0 up to (excluding) 13.9.6 *cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:* versions from (including) 13.9.0 up to (excluding) 13.9.6 *cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:* versions from (including) 13.10.0 up to (excluding) 13.10.3 *cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:* versions from (including) 13.10.0 up to (excluding) 13.10.3
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2021-22205
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2021-22205
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
97.32 }} -0.05%
score
0.99907
percentile