Katalog CVE

CVE-2026-82723

NiskieCVSS 1.8
Opublikowano: Przetłumaczono: NVD NIST

Streszczenie

Podatność w bibliotece AshAuthentication (dodatek audit_log) polega na zapisywaniu do dziennika audytu pełnego rekordu użytkownika, w tym atrybutu hashed_password, gdy akcja audytowana jest wywoływana z ustawionym aktorem. Oznaczenie atrybutu jako wrażliwego nie pomaga, ponieważ redakcja dotyczy tylko inspect/1, a nie kodowania JSON ani surowego zapisu. Problem dotyczy wersji od 4.12.0 do 4.15.0 oraz od 5.0.0-rc.0 do 5.0.0-rc.2.

Ocena ryzyka

Osoba mająca dostęp do magazynu audytu (np. przez dane uwierzytelniające do bazy, rolę audytową, kopię zapasową lub system zbierania logów) może pozyskać skróty haseł wszystkich aktywnych kont i przeprowadzić atak offline na hasła. Nie ma zdalnego wektora ataku, ale wyciek danych uwierzytelniających stanowi poważne ryzyko dla organizacji.

Rekomendacja

Należy zaktualizować bibliotekę ash_authentication do wersji 4.15.0 lub 5.0.0-rc.2 (lub nowszej), a jeśli to niemożliwe, ograniczyć dostęp do magazynu audytu i rozważyć filtrowanie danych aktora przed zapisem. Dodatkowo warto zweryfikować, czy w istniejących dziennikach audytu nie znajdują się już zapisane skróty haseł.

Inne podatności w AshAuthentication

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

Insertion of Sensitive Information into Log File vulnerability in team-alembic AshAuthentication allows disclosure of user password digests to readers of the audit store. The audit_log add-on builds each entry's extra_data in AshAuthentication.AddOn.AuditLog.Auditor.build_extra_data/4, which takes :actor from the action callback context verbatim. Any audited action invoked with actor: set to a user record therefore deposits that record, including its hashed_password attribute, into the audit entry. The same module already collapses the audited identity to an opaque string via AshAuthentication.user_to_subject/1 and filters params against the strategy's configured allow-list, so the actor is the only stored value that reaches the audit store unfiltered. Marking the attribute sensitive?: true does not help, because that redacts inspect/1 output rather than JSON encoding or raw-term storage. There is no attacker-controlled trigger and no network disclosure path: entries accumulate from ordinary authenticated activity, and an attacker's own requests deposit only their own digest. Exploitation requires independent read access to the audit store, such as database credentials, an audit role, a backup, or a log shipper, at which point the digests support offline password attack against every active account. Whether the material persists depends on the data layer, since raw-term stores keep it verbatim while a SQL store raises Protocol.UndefinedError and drops the entry unless the user resource derives Jason.Encoder. This issue affects ash_authentication: from 4.12.0 before 4.15.0 and from 5.0.0-rc.0 before 5.0.0-rc.2.

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