Cross-site request forgery in Gitlab Community Edition and GitLab Enterprise Edition - CVE-2022-0154

 

Cross-site request forgery in Gitlab Community Edition and GitLab Enterprise Edition - CVE-2022-0154

Published: January 17, 2022


Vulnerability identifier: #VU59620
CSH Severity: Low
CVSS v4: 4.8 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-0154
CWE-ID: CWE-352
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform cross-site request forgery attacks.

The vulnerability exists due to lack of state parameter on GitHub import project OAuth. A remote authenticated attacker can trick the victim to visit a specially crafted web page and perform arbitrary actions on behalf of the victim on the vulnerable website.


Affected software

Gitlab Community Edition
GitLab Enterprise Edition

How to mitigate CVE-2022-0154

Install updates from vendor's website.

Gitlab Community Edition - addressed in versions 14.4.5, 14.5.3, 14.6.2
GitLab Enterprise Edition - addressed in versions 14.4.5, 14.5.3, 14.6.2

External References

Related Security Bulletins