Katalog CVE

CVE-2026-78619

KrytyczneCVSS 9.8
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.44%

Percentyl 37 - wyżej niż 37% wszystkich znanych CVE

Streszczenie

Wersje Punk::Plugin::TOTP przed 0.05 dla Perla akceptują kod odzyskiwania innego konta podczas wyzwania dwuskładnikowego, ponieważ totp_use_recovery porównuje identyfikatory użytkowników numerycznie.

Ocena ryzyka

Atakujący znający hasło ofiary i posiadający własny kod odzyskiwania może ominąć drugi czynnik uwierzytelniania ofiary.

Rekomendacja

Zaktualizuj Punk::Plugin::TOTP do wersji 0.05 lub nowszej, która naprawia ten problem.

Oryginalny opis (angielski, źródło NVD)

Punk::Plugin::TOTP versions before 0.05 for Perl accept another account's recovery code at the two-factor challenge because totp_use_recovery compares user identifiers numerically. The helper searches the recovery model for the submitted code's digest alone, across every user's rows, so the ownership test that follows is the only thing binding a code to the account it was issued to. That test compares the row's user_id with the challenged user's id through Perl's integer coercion, and an identifier with no leading digits coerces to zero, so any two of them compare equal. User models keyed on a username, an email address or a UUID hit that case, and a numeric key compares as intended. The challenge route feeds a submitted value to the helper once TOTP verification fails, so an attacker who knows a victim's password and holds a recovery code of their own passes the victim's second factor.

Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS