better-auth 1.2.6-beta.8 before 1.7.16 contains an authentication bypass vulnerability in the...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| better-authbetter-auth |
≥ 1.2.6-beta.8, < 1.7.16→ 1.7.16 ≥ 1.8.0-beta.0, < 1.8.0-beta.5→ 1.8.0-beta.5 |
1.7.16 1.8.0-beta.5 |
Original description The description as published by the source.
better-auth 1.2.6-beta.8 before 1.7.16 contains an authentication bypass vulnerability in the phone-number plugin that allows unauthenticated attackers to verify arbitrary records by using caller-supplied phoneNumber values as shared verification table keys. Attackers can submit a predictable siwe-prefixed SIWE nonce key as phoneNumber and its nonce as code to create verified accounts and sessions, or exhaust attempts to cancel victims' sign-in codes.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- web disclosure@vulncheck.com
- web disclosure@vulncheck.com
- web disclosure@vulncheck.com
- web disclosure@vulncheck.com
- web nvd.nist.gov
- web github.com