Katalog CVE

CVE-2026-78223

ŚrednieCVSS 6.9
Opublikowano: Przetłumaczono: NVD NIST

Streszczenie

Podatność w bibliotece AshAuthentication (wersje od 0.2.0 do przed 4.15.0 oraz od 5.0.0-rc.0 do przed 5.0.0-rc.14) dotyczy nieprawidłowej weryfikacji podpisu kryptograficznego. Mechanizm unieważniania tokenów nie sprawdza podpisu, co pozwala atakującemu na neutralizację unieważnienia lub wstawienie dowolnych wierszy do zasobu tokenów.

Ocena ryzyka

Atakujący może sfałszować token i ponownie aktywować unieważnione tokeny lub dodać złośliwe dane do bazy tokenów. Może to prowadzić do nieautoryzowanego dostępu lub eskalacji uprawnień.

Rekomendacja

Należy zaktualizować bibliotekę AshAuthentication do wersji 4.15.0 lub nowszej (dla 4.x) lub do 5.0.0-rc.14 lub nowszej (dla 5.x). Dodatkowo, należy zweryfikować, czy nie doszło do nadużyć.

Inne podatności w AshAuthentication

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

Improper Verification of Cryptographic Signature vulnerability in team-alembic AshAuthentication allows a caller of the token revocation action to neutralise a revocation or write arbitrary rows into the token resource. AshAuthentication.TokenResource.RevokeTokenChange.change/3 reads the :token argument and decodes it with AshAuthentication.Jwt.peek/1, which delegates to Joken.peek_claims/1 and performs no signature check, unlike Jwt.verify/4. The jti, exp and sub claims it returns are written straight onto the revocation record, guarded only by byte_size(token) > 0. Because expires_at derives from the attacker-chosen exp, a forged copy of a genuine token that keeps the real jti but backdates exp yields a revocation row that is already expired: expunge_expired removes it and the genuine token passes revoked? again. Arbitrary jti and sub values can be inserted the same way. This issue affects ash_authentication: from 0.2.0 before 4.15.0 and from 5.0.0-rc.0 before 5.0.0-rc.14.

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