Profile-page denial via extension-stripping route collision
Published Jul 7, 2021 · Updated Aug 3, 2024
Denial of service in GitLab CE/EE 8.0 through 13.11.5, 13.12 through 13.12.5, and 14.0 through 14.0.1 lets remote authenticated users hide a profile. Rails routing treats a username suffix such as .html as a response-format extension and resolves the extensionless path instead of the intended user namespace. Exploitation requires an account with a specially suffixed username and another authenticated account able to create the matching extensionless group, causing requests for the victim's public profile URL to resolve to the group page.
Summary
What happened
Denial of service in GitLab CE/EE 8.0 through 13.11.5, 13.12 through 13.12.5, and 14.0 through 14.0.1 lets remote authenticated users hide a profile. Rails routing treats a username suffix such as .html as a response-format extension and resolves the extensionless path instead of the intended user namespace. Exploitation requires an account with a specially suffixed username and another authenticated account able to create the matching extensionless group, causing requests for the victim's public profile URL to resolve to the group page.
The record
- CVE
- CVE-2021-22231
- Published
- Jul 7, 2021
- Updated
- Aug 3, 2024
- Vendor
- GitLab
- Product
- GitLab
- Classifications
- Unavailable
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Jul 7, 2021CVE publishedPublication date reported by the CVE source.
- Aug 3, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=>=13.12, <13.12.6
- Affected versionversion=>=14.0, <14.0.2
- Affected versionversion=>=8.0, <13.11.6
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
No sourced classifications are available.
Public exploit references
- GitLab profile route-collision reproduction procedureproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo