CVE-2022-4315 Missing authorization in GitLab
GitLab DAST analyzer incorrectly sends custom request headers during authentication, potentially allowing attackers to bypass security controls.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-4315?
CVE-2022-4315 is a medium-severity missing authorization vulnerability in GitLab, published on 8 Mar 2023. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
An issue has been discovered in GitLab DAST analyzer affecting all versions starting from 2.0 before 3.0.55, which sends custom request headers with every request on the authentication page.
Weakness: CWE-863
Which versions are affected by CVE-2022-4315?
1 open source package ship an affected version, including gitlab. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
gitlab Bitnami | From 2.0.0 | 3.0.55 |
Products include Gitlab Dynamic Application Security Testing Analyzer.
How do I fix CVE-2022-4315?
Upgrade gitlab to 3.0.55 or later.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2022-4315 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-4315 exists.
Other vulnerabilities in GitLab
Sources
Also known as BIT-gitlab-2022-4315, GHSA-342h-3rmj-qwv4.