Account takeover via unverified OAuth return URL
Published Apr 24, 2023 · Updated Feb 4, 2025
OAuth redirect hijacking in Expo AuthSession SDK 45 through 47 allows remote attackers to steal tokens and take over accounts. The auth.expo.io start endpoint stored an attacker-controlled returnUrl in the RU cookie before trust confirmation, then sent the OAuth token to that URL. Exploitation requires a configured AuthSession Redirect Proxy flow and a victim to open a malicious page while signed in to the social provider.
Summary
What happened
OAuth redirect hijacking in Expo AuthSession SDK 45 through 47 allows remote attackers to steal tokens and take over accounts. The auth.expo.io start endpoint stored an attacker-controlled returnUrl in the RU cookie before trust confirmation, then sent the OAuth token to that URL. Exploitation requires a configured AuthSession Redirect Proxy flow and a victim to open a malicious page while signed in to the social provider.
The record
- CVE
- CVE-2023-28131
- Published
- Apr 24, 2023
- Updated
- Feb 4, 2025
- Vendor
- Expo
- Product
- Expo AuthSession
- Classifications
- CWE-522, T1528, T1189
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Apr 24, 2023CVE publishedPublication date reported by the CVE source.
- Feb 4, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=All versions prior to SDK 48.* (Affected SDK 45.*, 46.* and 47.*)
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Salt Labs two-link OAuth redirect exploitfunctional · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo