← voltar
CVE-2024-54143

openwrt/asu allows build artifact poisoning via truncated SHA-256 hash and command injection

CVSS 9.3 CRITICALEPSS 1.9%CWE-328
Em resumo

Um servidor que compila imagens do OpenWrt usa um código de verificação fraco (apenas 12 caracteres) para identificar requisições, permitindo que atacantes criem imagens falsas que parecem legítimas. Combinado com injeção de comandos, atacantes conseguem inserir código malicioso no processo de compilação e entregar firmware comprometido aos usuários.

Detalhe técnico

CVE-2024-54143 explora hashing truncado de SHA-256 (12 caracteres) no mecanismo de requisições do openwrt/asu para gerar colisões, permitindo envenenamento do cache de artefatos. Um atacante não autenticado pode combinar isso com injeção de comandos no Imagebuilder para executar comandos arbitrários durante a compilação, produzindo imagens assinadas maliciosas que substituem builds legítimas.

Resumo gerado e traduzido por IA a partir da descrição oficial.
openwrt/asu is an image on demand server for OpenWrt based distributions. The request hashing mechanism truncates SHA-256 hashes to only 12 characters. This significantly reduces entropy, making it feasible for an attacker to generate collisions. By exploiting this, a previously built malicious image can be served in place of a legitimate one, allowing the attacker to "poison" the artifact cache and deliver compromised images to unsuspecting users. This can be combined with other attacks, such as a command injection in Imagebuilder that allows malicious users to inject arbitrary commands into the build process, resulting in the production of malicious firmware images signed with the legitimate build key. This has been patched with 920c8a1.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Produtos afetados
openwrt · asu

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

Falar com a TrueHacking →