Gitlab CE/EE - Remote Code Execution (CVE-2021-22205)
- Severity
- CVSSv3 Score
- 10
- Exploitable with Sniper
- Yes
- Vulnerability description
Gitlab CE/EE is affected by a Remote Code Execution, located in the
/uploads/user
endpoint. The versions impacted are those less than 13.10.3, 13.9.6, and 13.8.8. The root cause of this vulnerability consists in insufficient validation of image files that are parsed by the image parser. This allows a malicious unaunthenticated attacker to execute arbitrary code on the server.- Exploit capabilities
Sniper can gain unauthenticated Remote Code Execution on the target system and extract multiple artefacts as evidence.
- Risk description
The risk exists that a remote unauthenticated attacker can fully compromise the Gitlab CE/EE in order to steal confidential information, install ransomware or pivot to the internal network.
- Recommendation
Upgrade the Gitlab CE/EE server to the latest version or to a version higher or equal than 13.10.3, 13.9.6, or 13.8.8.
- References
https://nvd.nist.gov/vuln/detail/CVE-2021-22205
https://about.gitlab.com/releases/2021/04/14/security-release-gitlab-13-10-3-released/
- Detectable with
- Network Scanner
- Vuln date
- Apr 2021
- Published at
- Updated at
- Software Type
- Collaboration software
- Vendor
- GitLab
- Product
- Server
- Codename
- Not available