← volver
CVE-2024-34069

Werkzeug's improper usage of a pathname and improper CSRF protection results in the remote command execution

CVSS 7.5 HIGHEPSS 3.4%CWE-352
En resumen

El depurador de Werkzeug puede ser explotado por atacantes para ejecutar código malicioso en la máquina de un desarrollador si este visita un sitio web controlado por el atacante e ingresa el PIN del depurador. Esto es peligroso porque permite a los atacantes ejecutar comandos directamente en la máquina del desarrollador.

Detalle técnico

Un bypass de protección CSRF (CWE-352) combinado con manejo inadecuado de rutas en el depurador de Werkzeug permite ejecución remota de código. El ataque requiere ingeniería social para engañar a un desarrollador para que visite un dominio controlado por el atacante, ingrese el PIN del depurador e intente adivinar una URL que lo active; una explotación exitosa otorga ejecución arbitraria de código incluso cuando el depurador está vinculado solo a localhost.

Resumen generado y traducido por IA a partir de la descripción oficial.
Werkzeug is a comprehensive WSGI web application library. The debugger in affected versions of Werkzeug can allow an attacker to execute code on a developer's machine under some circumstances. This requires the attacker to get the developer to interact with a domain and subdomain they control, and enter the debugger PIN, but if they are successful it allows access to the debugger even if it is only running on localhost. This also requires the attacker to guess a URL in the developer's application that will trigger the debugger. This vulnerability is fixed in 3.0.3.
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Productos afectados
pallets · werkzeug

¿Quieres saber si tu infraestructura está expuesta a esto?

Hablar con TrueHacking →