CVE Vulnerabilities

CVE-2022-1148

Reliance on Cookies without Validation and Integrity Checking

Published: Apr 04, 2022 | Modified: Aug 08, 2023
CVSS 3.x
6.5
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
CVSS 2.x
4.3 MEDIUM
AV:N/AC:M/Au:N/C:P/I:N/A:N
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM

Improper authorization in GitLab Pages included with GitLab CE/EE affecting all versions from 11.5 prior to 14.7.7, 14.8 prior to 14.8.5, and 14.9 prior to 14.9.2 allowed an attacker to steal a users access token on an attacker-controlled private GitLab Pages website and reuse that token on the victims other private websites

Weakness

The product relies on the existence or values of cookies when performing security-critical operations, but it does not properly ensure that the setting is valid for the associated user.

Affected Software

Name Vendor Start Version End Version
Gitlab Gitlab 11.5.0 (including) 14.7.7 (excluding)
Gitlab Gitlab 14.8.0 (including) 14.8.5 (excluding)
Gitlab Gitlab 14.9.0 (including) 14.9.2 (excluding)
Gitlab Ubuntu esm-apps/xenial *
Gitlab Ubuntu trusty *
Gitlab Ubuntu xenial *

Potential Mitigations

References