CVE-2026-117656 Suplantación de usuario en Sign in with Apple de Assent
En Assent desde 0.1.25 hasta antes de 0.3.2, Assent.Strategy.Apple.callback/2 decodifica el parámetro user del callback, controlado por el cliente, y fetch_user/2 lo fusiona sobre los claims del ID token verificado, por lo que el mapa no verificado prevalece. Un atacante no autenticado puede reemplazar sub, email y otros claims y suplantar a otro usuario en aplicaciones que buscan, vinculan o autorizan cuentas por esos valores. Se corrige en 0.3.2.
CVSS 4.0
- Probabilidad de explotación · EPSS del 09/110,2 % · percentil 13
- Explotada activamenteNo confirmada
- Exploit públicoNo conocido
Afectados
pow-auth assent
desde 0.1.25 hasta antes de 0.3.2
pow-auth assent
desde a2d331e8c51376d6c0b04a81aad31e0b4d4d64a3 hasta antes de 18898bde0296152165ae470078490e5798329b1b
Qué hacer
- Verificá si usás assent y en qué versión.
- Actualizá a la versión corregida que indique el fabricante en su aviso o aplicá su mitigación.
- Revisá registros y accesos de los sistemas expuestos para descartar un uso previo.
Calculadora CVSS
CVSS 4.0 · 9.3 CRÍTICA
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
- Vector de ataqueRed
- Complejidad del ataqueBaja
- Requisitos del ataqueNinguno
- Privilegios requeridosNinguno
- Interacción del usuarioNinguna
- Confidencialidad (sistema vulnerable)Alta
- Integridad (sistema vulnerable)Alta
- Disponibilidad (sistema vulnerable)Ninguna
- Confidencialidad (sistemas posteriores)Ninguna
- Integridad (sistemas posteriores)Ninguna
- Disponibilidad (sistemas posteriores)Ninguna
Descripción original
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.
Referencias (5)
Resumen traducido automáticamente de la descripción original. Fuente: Nureq Monitor. Cómo funciona.