Descrizione
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.
Tipo di vulnerabilità
CWE-653
Improper Isolation or Compartmentalization
The product does not properly compartmentalize or isolate functionality, processes, or resources that require different privilege levels, rights, or permissions.
Impatto sui sistemi
| Ambito | Impatto |
| Controllo degli accessi |
Ottenere privilegi o assumere un’altra identità, Aggirare i meccanismi di protezione |
Come si previene
Architettura e progettazione
Break up privileges between different modules, objects, or entities. Minimize the interfaces between modules and require strong access control between them.
Tutte le 76 CVE di tipo CWE-653, con andamento e prevenzione