OAuth consent spoofing via global hostname replacement
Published Sep 12, 2024 · Updated Sep 13, 2024
Business logic error in GitLab allows remote authenticated users to spoof an OAuth application's trusted redirect domain with a crafted URL. The OAuth authorization trust-screen template parses the redirect URI host, then globally removes every “www.” substring rather than only a leading label. An attacker must register an OAuth application and persuade an authenticated victim to open the authorization URL and approve access, exposing the victim's granted account data.
Summary
What happened
Business logic error in GitLab allows remote authenticated users to spoof an OAuth application's trusted redirect domain with a crafted URL. The OAuth authorization trust-screen template parses the redirect URI host, then globally removes every “www.” substring rather than only a leading label. An attacker must register an OAuth application and persuade an authenticated victim to open the authorization URL and approve access, exposing the victim's granted account data.
The record
- CVE
- CVE-2024-6446
- Published
- Sep 12, 2024
- Updated
- Sep 13, 2024
- Vendor
- GitLab
- Product
- GitLab
- Classifications
- CWE-840, T1566.002
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Sep 12, 2024CVE publishedPublication date reported by the CVE source.
- Sep 13, 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=17.1 <17.1.7
- Affected versionversion=17.2 <17.2.5
- Affected versionversion=17.3 <17.3.2
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.
Public exploit references
No public exploit references are available in this record.
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