CVE-2020-5233 Open Redirect in OAuth2 Proxy

Medium 5.9 Published Updated

Attackers can exploit an open redirect in OAuth2 Proxy to silently harvest authentication tokens, potentially leading to account takeover.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2020-5233?

CVE-2020-5233 is a medium-severity vulnerability in pusher OAuth2 Proxy, published on 30 Jan 2020. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

OAuth2 Proxy before 5.0 has an open redirect vulnerability. Authentication tokens could be silently harvested by an attacker. This has been patched in version 5.0.

Weakness: CWE-601

Which versions are affected by CVE-2020-5233?

3 open source packages ship an affected version, including github.com/oauth2-proxy/oauth2-proxy and oauth2-proxy. It affects 1 product.

PackageAffectedFixed in
github.com/oauth2-proxy/oauth2-proxy GoAll versions5.0.0
github.com/oauth2-proxy/oauth2-proxy GoAll versions5.0.0
oauth2-proxy BitnamiAll versions5.0.0

Products include Oauth2 Proxy Project Oauth2 Proxy.

How do I fix CVE-2020-5233?

Upgrade github.com/oauth2-proxy/oauth2-proxy to 5.0.0 or later.

Is CVE-2020-5233 being exploited?

There is no known exploitation of CVE-2020-5233 in the wild and no public exploit code.

Sources

Also known as BIT-oauth2-proxy-2020-5233, GHSA-qqxw-m5fj-f7gv.

Is CVE-2020-5233 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free