← volver
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
En resumen

Un servidor que compila imágenes de OpenWrt utiliza un código de verificación débil (solo 12 caracteres) para identificar solicitudes, permitiendo que atacantes creen imágenes falsas que parecen legítimas. Combinado con inyección de comandos, los atacantes pueden insertar código malicioso en el proceso de compilación y entregar firmware comprometido a los usuarios.

Detalle técnico

CVE-2024-54143 explota el truncamiento de SHA-256 (12 caracteres) en el mecanismo de solicitudes de openwrt/asu para generar colisiones de hash, permitiendo el envenenamiento de caché de artefactos. Un atacante no autenticado puede combinar esto con inyección de comandos en Imagebuilder para ejecutar comandos arbitrarios durante la compilación, produciendo imágenes firmadas maliciosas que reemplazan compilaciones legítimas.

Resumen generado y traducido por IA a partir de la descripción 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
Productos afectados
openwrt · asu

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

Hablar con TrueHacking →