Opis (engleski)
better-auth 1.3.7 before 1.7.16 and 1.8.0-beta.0 before 1.8.0-beta.5 contains a race condition in the emailOTP plugin attempt counter, collision-prone email change code keys, and accent-insensitive email lookups. Unauthenticated attackers can send concurrent guesses exceeding allowedAttempts to brute-force OTPs and sign in or reset passwords, signed-in users can verify addresses they do not own, and attackers receiving mail at accent-variant addresses can reset victims' passwords.
Zahvaćeni proizvodi i verzije
better-auth better-auth1.3.7 – < 1.7.16Ispravljeno u: 1.7.16
better-auth better-auth1.8.0-beta.0 – < 1.8.0-beta.5Ispravljeno u: 1.8.0-beta.5
CVSS vektor, objašnjeno
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
- Put napada
- Preko mreže (s interneta)
- Složenost napada
- Visoka
- Potrebne ovlasti
- Bez prijave
- Interakcija korisnika
- Nije potrebna
- Opseg
- Samo ranjiva komponenta
- Povjerljivost
- Nizak utjecaj
- Integritet
- Nizak utjecaj
- Dostupnost
- Bez utjecaja
Vrsta slabosti (CWE)
- CWE-307 Improper Restriction of Excessive Authentication Attempts
Reference
- github.com/better-auth/better-auth/security/advisories/GHSA-2f9c-7xj7-gh55 objava proizvođača
- www.vulncheck.com/advisories/better-auth-from-1.3.7-before-1.7.16-email-otp-race-condition
Izvori: CVE.org (CNA i CISA ADP), CISA KEV, FIRST EPSS. Uvijek provjerite službenu objavu proizvođača.