CVE-2020-15233 OAuth2 Redirect URL validity does not respect query parameters and character casing for loopback addresses
Attackers with loopback access can bypass OAuth2 redirect URL validation by manipulating query parameters and host casing in the ORY Fosite library.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2020-15233?
CVE-2020-15233 is a medium-severity vulnerability in ory fosite, published on 2 Oct 2020. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official description
ORY Fosite is a security first OAuth2 & OpenID Connect framework for Go. In Fosite from version 0.30.2 and before version 0.34.1, there is an issue in which an an attacker can override the registered redirect URL by performing an OAuth flow and requesting a redirect URL that is to the loopback adapter. Attackers can provide both custom URL query parameters to their loopback redirect URL, as well as actually overriding the host of the registered redirect URL. These attacks are only applicable in scenarios where the attacker has access over the loopback interface. This vulnerability has been patched in ORY Fosite v0.34.1.
Which versions are affected by CVE-2020-15233?
2 open source packages ship an affected version, including github.com/ory/fosite. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/ory/fosite Go | From 0.30.3 | 0.34.1 |
github.com/ory/fosite Go | From 0.30.3 | 0.34.1 |
Products include Ory Fosite.
How do I fix CVE-2020-15233?
Upgrade github.com/ory/fosite to 0.34.1 or later.
Is CVE-2020-15233 being exploited?
There is no known exploitation of CVE-2020-15233 in the wild and no public exploit code.
Other vulnerabilities in ory fosite
Sources
Also known as GHSA-rfq3-w54c-f9q5.