Katalog CVE

CVE-2026-117656

KrytyczneCVSS 9.3
Opublikowano: Przetłumaczono: NVD NIST

Streszczenie

Biblioteka Assent (pow-auth) w strategii Sign in with Apple ufa parametrowi 'user' przesyłanemu przez przeglądarkę, który klient może dowolnie modyfikować. Parametr ten jest nadpisywany na zweryfikowane oświadczenia tokenu ID, co pozwala nieuwierzytelnionemu atakującemu podszyć się pod innego użytkownika. Problem dotyczy wersji od 0.1.25 do 0.3.2.

Ocena ryzyka

Atakujący może przejąć tożsamość ofiary (sub, email) i uzyskać dostęp do jej konta w aplikacji, która loguje lub autoryzuje użytkowników na podstawie zwróconych danych. Prowadzi to do przejęcia kont i obejścia kontroli dostępu.

Rekomendacja

Zaktualizuj bibliotekę assent do wersji 0.3.2 lub nowszej. Do czasu aktualizacji nie ufaj polu 'user' z callbacku i weryfikuj tożsamość wyłącznie na podstawie podpisanego tokenu ID.

Powiązane podatności

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

Acceptance of Extraneous Untrusted Data With Trusted Data vulnerability in the Sign in with Apple strategy in pow-auth Assent allows an unauthenticated remote attacker to impersonate another user via the user parameter of the authorization callback. Apple posts the user's name to the callback endpoint in a user form parameter that the browser submits and the client controls. Assent.Strategy.Apple.callback/2 in lib/assent/strategies/apple.ex decodes that parameter, and fetch_user/2 merges it over the claims of the verified ID token, so the unverified map wins. An attacker who completes a Sign in with Apple login with their own Apple ID and edits the user parameter can replace sub, email, and any other claim. Applications that look up, link, or authorize accounts by the returned subject or email then act on the attacker's values. This issue affects assent: from 0.1.25 before 0.3.2.

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