PT-2023-32865 · Wrangler · Wrangler
Lekensteyn
·
Publicado
2023-12-29
·
Atualizado
2024-01-05
·
CVE-2023-7080
CVSS v3.1
8.5
Alta
| Vetor | AV:A/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N |
Name of the Vulnerable Software and Affected Versions
wrangler versions prior to 3.19.0
wrangler versions prior to 2.20.2
Description
The V8 inspector intentionally allows arbitrary code execution within the Workers sandbox for debugging.
wrangler dev would previously start an inspector server listening on all network interfaces, allowing an attacker on the local network to connect to the inspector and run arbitrary code. Additionally, the inspector server did not validate Origin/Host headers, granting an attacker that can trick any user on the local network into opening a malicious website the ability to run code. If wrangler dev --remote was being used, an attacker could access production resources if they were bound to the worker.Recommendations
For versions prior to 3.19.0, upgrade to at least
wrangler@3.19.0 to introduce validation for the Origin/Host headers.
For versions prior to 2.20.2, upgrade to at least wrangler@2.20.2 to introduce validation for the Origin/Host headers.
As a temporary workaround, consider configuring Wrangler to listen on local interfaces instead with wrangler dev --ip 127.0.0.1 to prevent SSRF.Correção
Improper Privilege Management
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾
Enumeração de Fraquezas
Identificadores relacionados
Produtos afetados
Wrangler