#VU51271 Authorization bypass through user-controlled key in Gitlab Community Edition and GitLab Enterprise Edition


Published: 2021-03-09

Vulnerability identifier: #VU51271

Vulnerability risk: Medium

CVSSv3.1: 4.7 [CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2021-22186

CWE-ID: N/A

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Gitlab Community Edition
Universal components / Libraries / Software for developers
GitLab Enterprise Edition
Universal components / Libraries / Software for developers

Vendor: GitLab, Inc

Description

The vulnerability allows a remote user to gain access to otherwise restricted functionality.

The vulnerability exists due to incorrect permission checks in the API. A remote authenticated user with privileges of a group maintainer can modify group CI/CD variables, which should be restricted to group owners.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

Gitlab Community Edition: 9.4.0 - 13.9.1

GitLab Enterprise Edition: 9.4.0 - 13.9.1


External links
http://about.gitlab.com/releases/2021/03/04/security-release-gitlab-13-9-2-released/


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated user via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability