Connect with us
X
Categories:

Technology

Dex fixes authentication flaw that made client applications accessible to unauthorized users

Published

on

Dex fixes authentication flaw that made client applications accessible to unauthorized users
Share this post:

DOWNLOAD MP3 SONG

OpenID Connect (OIDC) identity service Dex has patched a critical vulnerability that would allow an attacker to fetch an ID token through an intercepted authorization code and potentially gain unauthorized access to client applications.

Dex uses OIDC , a simple identity layer on top of the OAuth 2.0 protocol, to power authentication for other apps. It acts as a portal to other identity providers through ‘connectors’, allowing it to defer authentication to LDAP servers, SAML providers, or identity providers such as GitHub, Google, and Active Directory.

Dex, an open source sandbox project from the Cloud Native Computing Foundation, has been downloaded 35.6 million times.

Consent problem

Security researchers discovered that an attacker who can dupe a victim into navigating to a malicious website can steal the OAuth authorization code, exchange it for a token, and then gain access to applications that accept that token. The exploit can be used multiple times, allowing the attacker to get a new token every time the old one expires.

“The cause of the bug is the implementation of the consent page,” Dex maintainer Maksim Nabokikh tells Daily Swig.

“This page is supposed to protect users from sharing too much profile data with the application. Instead, it created a hole in Dex. If fraudsters can access this page before a user, they can steal not only all the user’s data but also impersonate it.”

Reproduction steps

When the victim navigates to the malicious website, Dex returns a 302 Redirect to the connector IDP, according to a GitHub security advisory. The exploit then involves recording the state parameter value g3dkmpontsr3ugocoddjx72ef, which later becomes the request ID.

The website subsequently redirects the victim’s browser to the connector IDP, to which the user authenticates. And if the user has authenticated before, authentication may be carried out without a challenge, with the connector IDP redirecting the browser to the Dex callback with a code.

RECOMMENDED  Vulnerability in AWS IAM Authenticator for Kubernetes could allow user impersonation, privilege escalation attacks

Dex then fetches the user claims from the connector IDP, persisting them and generating an OAuth code, before redirecting the browser to the approval endpoint. The reproduction steps conclude with Dex using the request ID to look up the OAuth code, and building a redirect to the original callback .

The flaw, which has a CVSS rating of 9.3, affects versions 2.34.0 and earlier, with users advised to update to version 2.35.0. Those using Google connector should upgrade to 2.35.1 instead.

The patch was created by Sigstore developers Hayden Blauzvern, Bob Callaway, and ‘joernchen’, the original reporter of the bug.

The fix involved introducing a hash-based message authentication (HMAC) code, which uses a randomly generated per-request secret that can’t be known to an attacker and is persisted between the initial login request and the approval request.


Get More Stories Like This On: Facebook: @AllNaijaEntertainment, Twitter: @AllNaijaEntertainment
Chief Oyerigha Echo Toikumoh - The Earlier The Better
Music4 days ago

[Music] Chief Oyerigha Echo Toikumoh – The Earlier The Better

Enzo Maresca and Mikel Arteta stated they will not take Pep Guardiola's place at Manchester City
Sports4 days ago

Enzo Maresca and Mikel Arteta stated they will not take Pep Guardiola’s place at Manchester City

Alan Shearer reckons Liverpool star is ‘not going to get better’
Sports4 days ago

Alan Shearer reckons Liverpool star is ‘not going to get better’

NECO examiners threaten nationwide protest over unpaid entitlements
News4 days ago

NECO examiners threaten nationwide protest over unpaid entitlements

Jonathan congratulates Trump on historic election win
News5 days ago

Jonathan congratulates Trump on historic election win

Peter Obi can become president in 2027 — Yunusa Tanko
News5 days ago

Peter Obi can become president in 2027 — Yunusa Tanko

Dua Lipa forced to cancel show after ‘unforeseen safety issues’
Entertainment5 days ago

Dua Lipa forced to cancel show after ‘unforeseen safety issues’

Uzoamaka Onuoha wins Best Female Performance in a feature at AFRIFF 2024
Entertainment5 days ago

Uzoamaka Onuoha wins Best Female Performance in a feature at AFRIFF 2024

'Phoenix Fury' bags Best Film award at the 13th edition of AFRIFF
Entertainment5 days ago

‘Phoenix Fury’ bags Best Film award at the 13th edition of AFRIFF

Vivo begins teasing new Dimensity 9400 flagships internationally
Technology5 days ago

Vivo begins teasing new Dimensity 9400 flagships internationally

Google Pixel 11 and Pixel 11 Pro may trade performance gains for longer battery life
Technology5 days ago

Google Pixel 11 and Pixel 11 Pro may trade performance gains for longer battery life

Manchester United players warned ‘only one is safe’ under Ruben Amorim
Sports5 days ago

Manchester United players warned ‘only one is safe’ under Ruben Amorim

Austin DeAnda given impromptu makeover after he is forced to have haircut in the middle of fight
Sports5 days ago

Austin DeAnda given impromptu makeover after he is forced to have haircut in the middle of fight

IG orders punishment for errant cops
News6 days ago

IG orders punishment for errant cops

Be ready to recover stolen mandate — Ighodalo tells PDP
News6 days ago

Be ready to recover stolen mandate — Ighodalo tells PDP

No part of Ogun will be ceded under my watch — Dapo Abiodun
News6 days ago

No part of Ogun will be ceded under my watch — Dapo Abiodun

Ruger calls out auto tune and hype culture in music
Entertainment6 days ago

Ruger calls out auto tune and hype culture in music

I hate to play same role repeatedly — Actress Bimbo Akintola
Entertainment6 days ago

I hate to play same role repeatedly — Actress Bimbo Akintola

Fans split on Davido, Wizkid, and Burna Boy's Grammy nominations.
Entertainment6 days ago

Fans split on Davido, Wizkid, and Burna Boy’s Grammy nominations

Samsung Galaxy S25 Slim: Leaker reveals launch details for Samsung's rival iPhone 17 Air
Technology6 days ago

Samsung Galaxy S25 Slim: Leaker reveals launch details for Samsung’s rival iPhone 17 Air

Realme names first smartphone to get Android 15 beta worldwide
Technology6 days ago

Realme names first smartphone to get Android 15 beta worldwide

England interim manager tipped for surprise Premier League job
Sports6 days ago

England interim manager tipped for surprise Premier League job

Hakim Ziyech mocks Israeli supporters attacked in Amsterdam
Sports6 days ago

Hakim Ziyech mocks Israeli supporters attacked in Amsterdam

Court jails seven for internet fraud in Kaduna
News6 days ago

Court jails seven for internet fraud in Kaduna

Edo APC criticizes Obaseki’s last-minute appointments
News6 days ago

Edo APC criticizes Obaseki’s last-minute appointments

Edo PDP announces caretaker committee
News6 days ago

Edo PDP announces caretaker committee

Tems makes history after securing 3 nominations for the 67th Grammys
Entertainment6 days ago

Tems makes history after securing 3 nominations for the 67th Grammys

Beyoncé surpasses Jay-Z to become the most nominated artist in Grammy history
Entertainment6 days ago

Beyoncé surpasses Jay-Z to become the most nominated artist in Grammy history

Davido, Wizkid, Tems, Asake make 2025 Grammy nominations
Entertainment6 days ago

Davido, Wizkid, Tems, Asake make 2025 Grammy nominations

Davido, Wizkid, Tems, Asake make 2025 Grammy nominations
Entertainment6 days ago

2025 GRAMMY: Academy unveils category changes ahead of nomination event

The Pastor Daughter Story by Miriam Edem _ ANE Story
ANE Stories7 days ago

[STORY] THE PASTOR’S DAUGHTER (Final Episode 13)

The Pastor Daughter Story by Miriam Edem _ ANE Story
ANE Stories7 days ago

[STORY] THE PASTOR’S DAUGHTER (Episode 12)

The Pastor Daughter Story by Miriam Edem _ ANE Story
ANE Stories7 days ago

[STORY] THE PASTOR’S DAUGHTER (Episode 11)

The Pastor Daughter Story by Miriam Edem _ ANE Story
ANE Stories7 days ago

[STORY] THE PASTOR’S DAUGHTER (Episode 10)

The Pastor Daughter Story by Miriam Edem _ ANE Story
ANE Stories7 days ago

[STORY] THE PASTOR’S DAUGHTER (Episode 09)

The Pastor Daughter Story by Miriam Edem _ ANE Story
ANE Stories7 days ago

[STORY] THE PASTOR’S DAUGHTER (Episode 08)

The Pastor Daughter Story by Miriam Edem _ ANE Story
ANE Stories7 days ago

[STORY] THE PASTOR’S DAUGHTER (Episode 07)

The Pastor Daughter Story by Miriam Edem _ ANE Story
ANE Stories7 days ago

[STORY] THE PASTOR’S DAUGHTER (Episode 06)

The Pastor Daughter Story by Miriam Edem _ ANE Story
ANE Stories7 days ago

[STORY] THE PASTOR’S DAUGHTER (Episode 05)

The Pastor Daughter Story by Miriam Edem _ ANE Story
ANE Stories7 days ago

[STORY] THE PASTOR’S DAUGHTER (Episode 04)

The Pastor Daughter Story by Miriam Edem _ ANE Story
ANE Stories7 days ago

[STORY] THE PASTOR’S DAUGHTER (Complete Episodes)

The Pastor Daughter Story by Miriam Edem _ ANE Story
ANE Stories7 days ago

[STORY] THE PASTOR’S DAUGHTER (Episode 06)

The Pastor Daughter Story by Miriam Edem _ ANE Story
ANE Stories7 days ago

[STORY] THE PASTOR’S DAUGHTER (Episode 05)

The Pastor Daughter Story by Miriam Edem _ ANE Story
ANE Stories7 days ago

[STORY] THE PASTOR’S DAUGHTER (Episode 01)

The Pastor Daughter Story by Miriam Edem _ ANE Story
ANE Stories7 days ago

[STORY] THE PASTOR’S DAUGHTER (Final Episode 13)

The Pastor Daughter Story by Miriam Edem _ ANE Story
ANE Stories7 days ago

[STORY] THE PASTOR’S DAUGHTER (Episode 09)

The Pastor Daughter Story by Miriam Edem _ ANE Story
ANE Stories7 days ago

[STORY] THE PASTOR’S DAUGHTER (Episode 07)

The Pastor Daughter Story by Miriam Edem _ ANE Story
ANE Stories7 days ago

[STORY] THE PASTOR’S DAUGHTER (Episode 10)

The Pastor Daughter Story by Miriam Edem _ ANE Story
ANE Stories7 days ago

[STORY] THE PASTOR’S DAUGHTER (Episode 12)

Papa Loves His Girls by Opeyemi Ojerinde Akintunde_ANE Stories
ANE Stories7 days ago

[STORY] PAPA LOVES HIS GIRLS (Episode 16)

The Pastor Daughter Story by Miriam Edem _ ANE Story
ANE Stories7 days ago

[STORY] THE PASTOR’S DAUGHTER (Episode 08)

The Pastor Daughter Story by Miriam Edem _ ANE Story
ANE Stories7 days ago

[STORY] THE PASTOR’S DAUGHTER (Episode 11)

Papa Loves His Girls by Opeyemi Ojerinde Akintunde_ANE Stories
ANE Stories7 days ago

[STORY] PAPA LOVES HIS GIRLS (Episode 15)

Papa Loves His Girls by Opeyemi Ojerinde Akintunde_ANE Stories
ANE Stories7 days ago

[STORY] PAPA LOVES HIS GIRLS (Episode 13)

The Pastor Daughter Story by Miriam Edem _ ANE Story
ANE Stories7 days ago

[STORY] THE PASTOR’S DAUGHTER (Episode 03)

Papa Loves His Girls by Opeyemi Ojerinde Akintunde_ANE Stories
ANE Stories7 days ago

[STORY] PAPA LOVES HIS GIRLS (Episode 12)

The Pastor Daughter Story by Miriam Edem _ ANE Story
ANE Stories7 days ago

[STORY] THE PASTOR’S DAUGHTER (Episode 02)

Papa Loves His Girls by Opeyemi Ojerinde Akintunde_ANE Stories
ANE Stories7 days ago

[STORY] PAPA LOVES HIS GIRLS (Episode 14)

The Pastor Daughter Story by Miriam Edem _ ANE Story
ANE Stories7 days ago

[STORY] THE PASTOR’S DAUGHTER (Episode 04)

Papa Loves His Girls by Opeyemi Ojerinde Akintunde_ANE Stories
ANE Stories7 days ago

[STORY] PAPA LOVES HIS GIRLS (Episode 11)

Davido, Wizkid, Tems, Asake make 2025 Grammy nominations
Entertainment6 days ago

2025 GRAMMY: Academy unveils category changes ahead of nomination event

Tems makes history after securing 3 nominations for the 67th Grammys
Entertainment6 days ago

Tems makes history after securing 3 nominations for the 67th Grammys

Davido, Wizkid, Tems, Asake make 2025 Grammy nominations
Entertainment6 days ago

Davido, Wizkid, Tems, Asake make 2025 Grammy nominations

Realme names first smartphone to get Android 15 beta worldwide
Technology6 days ago

Realme names first smartphone to get Android 15 beta worldwide

Beyoncé surpasses Jay-Z to become the most nominated artist in Grammy history
Entertainment6 days ago

Beyoncé surpasses Jay-Z to become the most nominated artist in Grammy history

Edo PDP announces caretaker committee
News6 days ago

Edo PDP announces caretaker committee

Hakim Ziyech mocks Israeli supporters attacked in Amsterdam
Sports6 days ago

Hakim Ziyech mocks Israeli supporters attacked in Amsterdam

Samsung Galaxy S25 Slim: Leaker reveals launch details for Samsung's rival iPhone 17 Air
Technology6 days ago

Samsung Galaxy S25 Slim: Leaker reveals launch details for Samsung’s rival iPhone 17 Air

Edo APC criticizes Obaseki’s last-minute appointments
News6 days ago

Edo APC criticizes Obaseki’s last-minute appointments

Austin DeAnda given impromptu makeover after he is forced to have haircut in the middle of fight
Sports5 days ago

Austin DeAnda given impromptu makeover after he is forced to have haircut in the middle of fight

Manchester United players warned ‘only one is safe’ under Ruben Amorim
Sports5 days ago

Manchester United players warned ‘only one is safe’ under Ruben Amorim

Court jails seven for internet fraud in Kaduna
News6 days ago

Court jails seven for internet fraud in Kaduna

England interim manager tipped for surprise Premier League job
Sports6 days ago

England interim manager tipped for surprise Premier League job

Fans split on Davido, Wizkid, and Burna Boy's Grammy nominations.
Entertainment6 days ago

Fans split on Davido, Wizkid, and Burna Boy’s Grammy nominations

Ruger calls out auto tune and hype culture in music
Entertainment6 days ago

Ruger calls out auto tune and hype culture in music

Peter Obi can become president in 2027 — Yunusa Tanko
News5 days ago

Peter Obi can become president in 2027 — Yunusa Tanko

Be ready to recover stolen mandate — Ighodalo tells PDP
News6 days ago

Be ready to recover stolen mandate — Ighodalo tells PDP

Uzoamaka Onuoha wins Best Female Performance in a feature at AFRIFF 2024
Entertainment5 days ago

Uzoamaka Onuoha wins Best Female Performance in a feature at AFRIFF 2024

Enzo Maresca and Mikel Arteta stated they will not take Pep Guardiola's place at Manchester City
Sports4 days ago

Enzo Maresca and Mikel Arteta stated they will not take Pep Guardiola’s place at Manchester City

I hate to play same role repeatedly — Actress Bimbo Akintola
Entertainment6 days ago

I hate to play same role repeatedly — Actress Bimbo Akintola

ANE Billboard Hots



Join "ANE sabi" clique

Don't miss a thing, get ogbonge ANE latest updates to fuel your conversation daily.