Advisories

better-auth 1.2.6-beta.8 before 1.7.16 Authentication Bypass via Phone-Number Plugin Verification

Go back
Severity
medium
Date
Affecting
  • better-auth >= 1.2.6-beta.8, < 1.7.16

  • better-auth >= 1.8.0-beta.0, < 1.8.0-beta.5

CWE
  • CWE-653 Improper Isolation or Compartmentalization
CVSS
6.9
CVSS V4 Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N
Credit
soovwv
Description
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.

Ready to get Started?

Explore VulnCheck, a next-generation Cyber Threat Intelligence platform, which provides exploit and vulnerability intelligence to help you prioritize and remediate vulnerabilities that matter.
  • Vulnerability Prioritization
    Prioritize vulnerabilities that matter based on the threat landscape and defer vulnerabilities that don't.
  • Early Warning System
    Real-time alerting of changes in the vulnerability landscape so that you can take action before the attacks start.