Description (CNA)
Better Auth @better-auth/sso from 1.7.0-rc.2 before 1.7.3 contains an authentication bypass vulnerability that allows authenticated users to sign in as other users by registering a personal SSO provider. Attackers can copy a legitimate provider's OIDC issuer or SAML entity ID and assert a victim's subject or NameID, because account lookup ignores providerId, creating sessions for victim accounts.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| better-auth / sso | affected 1.7.0-rc.2 before 1.7.3 |
CWE
CWE-287
References
- https://github.com/better-auth/better-auth/security/advisories/GHSA-mx9r-x6ww-qjw9
- https://www.vulncheck.com/advisories/better-auth-better-auth-sso-before-1.7.3-authentication-bypass-via-personal-sso-providers
ADP enrichment
No English description supplied.
No references supplied.