CVE-2022-29226
Trivial authentication bypass in Envoy
En resumen
El filtro OAuth de Envoy no valida tokens de acceso, permitiendo que atacantes eluda la autenticación simplemente adjuntando cualquier token de acceso a la solicitud. Esto es crítico porque rompe completamente la seguridad de servicios protegidos por OAuth.
Detalle técnico
La implementación del filtro OAuth carece de validación de token de acceso (CWE-306: Autenticación Faltante). Cuando falta la cookie firmada con HMAC, el filtro asume incorrectamente la validez del token en lugar de desencadenar re-autenticación, permitiendo que cualquier solicitud con un token arbitrario obtenga acceso. Pre-condición: atacante debe adjuntar cualquier token de acceso; impacto es bypass completo de autenticación.
Resumen generado y traducido por IA a partir de la descripción oficial.
Envoy is a cloud-native high-performance proxy. In versions prior to 1.22.1 the OAuth filter implementation does not include a mechanism for validating access tokens, so by design when the HMAC signed cookie is missing a full authentication flow should be triggered. However, the current implementation assumes that access tokens are always validated thus allowing access in the presence of any access token attached to the request. Users are advised to upgrade. There is no known workaround for this issue.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
Productos afectados
envoyproxy · envoy¿Quieres saber si tu infraestructura está expuesta a esto?
Hablar con TrueHacking →