Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWdyZnAtcTJtbS1oZnA2
Redirect URL matching ignores character casing
Impact
Before version v0.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:
- Registering a client with allowed redirect URL
https://example.com/callback
- Performing 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).
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWdyZnAtcTJtbS1oZnA2
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: about 2 years ago
Updated: 4 months ago
CVSS Score: 6.1
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N
Identifiers: GHSA-grfp-q2mm-hfp6, CVE-2020-15234
References:
- https://github.com/ory/fosite/security/advisories/GHSA-grfp-q2mm-hfp6
- https://nvd.nist.gov/vuln/detail/CVE-2020-15234
- https://github.com/ory/fosite/commit/cdee51ebe721bfc8acca0fd0b86b030ca70867bf
- https://github.com/advisories/GHSA-grfp-q2mm-hfp6
Affected Packages
go:github.com/ory/fosite
Versions: < 0.34.1Fixed in: 0.34.1