CVE-2020-15234: ORY Fosite - Broken Access Control
- Cve: CVE-2020-15234
- Name: ORY Fosite - Broken Access Control
- Description: ORY Fosite is a security first OAuth2 & OpenID Connect framework for Go. In Fosite before version 0.34.1, the OAuth 2.0 Client's registered redirect URLs and the redirect URL provided at the OAuth2 Authorization Endpoint where compared using strings.ToLower while they should have been compared with a simple string match. This allows an attacker to register a client with allowed redirect URL https://example.com/callback. Then perform an OAuth2 flow and requesting redirect URL https://example.com/CALLBACK. Instead of an error (invalid redirect URL), the browser is redirected to https://example.com/CALLBACK with a potentially successful OAuth2 response, depending on the state of the overall OAuth2 flow (the user might still deny the request for example). This vulnerability has been patched in ORY Fosite v0.34.1.
- Impact: Attackers can manipulate redirect URLs to hijack OAuth flows, potentially leading to unauthorized access or token theft.
- Remediation: Update to version 0.34.1 or later.
- Vulnerability type: broken_access_control
- Vulnerability impact: information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 4.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.00841
- Epss percentile: 0.58653
- Assignee: [email protected]
- Published at: 2020-10-02T21:15:12Z
- Age in days: 2244
- Modified at: 2026-06-17T02:56:19Z
- Patch available: yes
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2020-15234
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-20 | Improper Input Validation |
| CWE-178 | Improper Handling of Case Sensitivity |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/ory/fosite/commit/cdee51ebe721bfc8acca0fd0b86b030ca70867bf | nvd | Patch, Third Party Advisory |
| https://github.com/ory/fosite/security/advisories/GHSA-grfp-q2mm-hfp6 | nvd | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| ory:fosite | < 0.34.1 | no | nvd | /v1/products/ory/fosite |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| ory/fosite | commit, fix, package, security_advisory | yes | /v1/repositories/ory/fosite |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts