Patchfirst
CVE-2020-15233 Medium · 6.1 EPSS 0.8%

OAuth2 Redirect URL validity does not respect query parameters and character casing for loopback addresses

ory · fosite

Official description · CVE.org

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.

Breakdown
15.6 / 100
Exploited
Not confirmed
Reports
0
Tactics
2/15

How an attack unfolds

Based on mappings. Select a step to see the evidence.
  1. How attackers get in

  2. What can follow

Disclosed on 2 Oct 2020. No public exploit code or confirmed exploitation is recorded.

4 fixes in github.com/ory/fosite over 8 days. The latest fix listed for github.com/ory/fosite is 0.34.1.

Fixes in github.com/ory/fositeGo package, by fixed version. Earlier and later fixes in the same package, not necessarily the same bug.

  1. 0.31.0CVE-2020-1522224 Sep 2020
  2. 0.34.0CVE-2020-1522324 Sep 2020
  3. 0.34.1CVE-2020-152332 Oct 2020
  4. 0.34.1CVE-2020-152342 Oct 2020Latest listed

techniques

2 , grouped by in kill-chain order 2

Initial AccessTA0001

Spearphishing Link T1566.002
MITRE CTID mapping of the CVE · how it is exploited

Stealth

Masquerading T1036
MITRE CTID mapping of the CVE · follow-on activity

Detection

0 rules for this CVE · 44 general rules for its techniques

Rules for this CVE

0 that reference CVE-2020-15233 directly.

CVE-specific rules are not available in this build. Search SigmaHQ ↗

Sigma rules © SigmaHQ, Detection Rule License 1.1; linked, not reproduced.

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

1 package in 1 ecosystem. Main package: github.com/ory/fosite.

Gogithub.com/ory/fositeGHSA-rfq3-w54c-f9q5

Upgrade to 0.34.1 or later

Gogo get github.com/ory/fosite@v0.34.1

The first fix for CVE-2020-15233. No other CVE tracked by Patchfirst affects this package.

Affected versions

If you runUpgrade to
0.30.3 up to 0.34.10.34.1

“Up to” means the second version is the fix and is not affected.

Check your lockfile against all CVEs

What security researchers reported

Not named in any threat report yet

References

2 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close