Open redirect in GitLab Enterprise Edition - CVE-2024-4283

 

Open redirect in GitLab Enterprise Edition - CVE-2024-4283

Published: September 12, 2024


Vulnerability identifier: #VU97207
CSH Severity: Medium
CVSS v4: 7.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-4283
CWE-ID: CWE-601
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to redirect victims to arbitrary URL.

The vulnerability exists due to improper sanitization of user-supplied data in repo/tree/:id endpoint. A remote user can create a link that leads to a trusted website, however, when clicked, redirects the victim to arbitrary domain.

Successful exploitation of this vulnerability may allow for an account takeover by breaking the OAuth flow.


Affected software

GitLab Enterprise Edition

How to mitigate CVE-2024-4283

Install updates from vendor's website.

GitLab Enterprise Edition - addressed in versions 17.1.7, 17.2.5, 17.3.2

External References

Related Security Bulletins