Account takeover via OAuth redirect userinfo bypass
Published Jul 6, 2023 · Updated Oct 18, 2024
Open redirect in Novu before 0.16.0 allows remote attackers to steal a victim's session token through a crafted GitHub sign-in URL. The GitHub OAuth callback trusts a redirectUrl that merely starts with http://localhost:, so URL userinfo syntax routes the appended JWT to an attacker host. Exploitation requires manually enabled GitHub OAuth and a victim who opens the link and completes authentication, after which the stolen token grants access to the victim's account.
Summary
What happened
Open redirect in Novu before 0.16.0 allows remote attackers to steal a victim's session token through a crafted GitHub sign-in URL. The GitHub OAuth callback trusts a redirectUrl that merely starts with http://localhost:, so URL userinfo syntax routes the appended JWT to an attacker host. Exploitation requires manually enabled GitHub OAuth and a victim who opens the link and completes authentication, after which the stolen token grants access to the victim's account.
The record
- CVE
- CVE-2023-35948
- Published
- Jul 6, 2023
- Updated
- Oct 18, 2024
- Vendor
- Novu
- Product
- Novu
- Classifications
- CWE-601, T1204.001, T1539
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jul 6, 2023CVE publishedPublication date reported by the CVE source.
- Oct 18, 2024Record 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=< 0.16.0
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
- GitHub OAuth open-redirect reproductionproof of concept · 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