← voltar
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
Em resumo

O debugger do Werkzeug pode ser explorado por atacantes para executar código malicioso no computador de um desenvolvedor se ele visitar um site controlado pelo atacante e inserir o PIN do debugger. Isso é perigoso porque permite que atacantes executem comandos diretamente na máquina do desenvolvedor.

Detalhe técnico

Uma falha de proteção CSRF (CWE-352) combinada com tratamento inadequado de caminhos no debugger do Werkzeug permite execução remota de código. O ataque exige engenharia social para enganar um desenvolvedor a visitar um domínio controlado pelo atacante, inserir o PIN do debugger e adivinhar uma URL que o dispare; a exploração bem-sucedida concede execução arbitrária de código mesmo quando o debugger está vinculado apenas a localhost.

Resumo gerado e traduzido por IA a partir da descrição 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
Produtos afetados
pallets · werkzeug

Quer saber se a sua infraestrutura está exposta a isto?

Falar com a TrueHacking →