CVE-2022-39222CWE-200

OAuth authorization code exposure in Dex

Critical · published October 6, 2022

CVSS v3.1
9.3
EPSS
2%
Percentile
75.4
In the wild
Unconfirmed
What it is

🚨 A crafty click is all it takes! An attacker can manipulate users into navigating to a malicious site, tricking them into handing over their OAuth authorization code. 🔥 Imagine a restaurant where a waiter hands you a pen to sign your check but secretly swaps it for one that grants access to the kitchen. This vulnerability allows attackers to do just that with your authentication tokens! If exploited, this vulnerability could allow an attacker to gain unauthorized access to applications simply by stealing an authorization code. Once they have the code, it's game over—accessing sensitive user data and potentially wreaking havoc. It's absolutely devastating!

Put simply

Imagine a restaurant where a waiter hands you a pen to sign your check but secretly swaps it for one that grants access to the kitchen. This vulnerability allows attackers to do just that with your authentication tokens! This vulnerability exists in Dex's OpenID Connect flow, allowing attackers to hijack the OAuth authorization code provided to a victim through a malicious website, which can then be exchanged for access tokens. Instances running versions prior to 2.35.0 are specifically at risk.

What to do

If exploited, this vulnerability could allow an attacker to gain unauthorized access to applications simply by stealing an authorization code. Once they have the code, it's game over—accessing sensitive user data and potentially wreaking havoc. It's absolutely devastating! Upgrade your Dex instance to version 2.35.0 or later immediately. Since there are no known workarounds, prioritizing this update is crucial for maintaining security. Double-check your clients to ensure they aren't using outdated versions! You've got this! By taking these steps, you'll be one step closer to securing your apps! 🛡️

The record
Technical detail
CVSS v3.1
9.3 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.01584 · 75.4th percentile
Weakness
CWE-200 · Exposure of Sensitive Information to an Unauthorized Actor
Published
2022-10-06T00:00Z
EPSS history
Timeline
  • 06 OCT 00:00Z
    OAuth authorization code exposure in Dex
    cvelistv5