CVE-2024-54143: critical vulnerability in openwrt asu
openwrt/asu allows build artifact poisoning via truncated SHA-256 hash and command injection
Published
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
No sign of exploitation. No public exploitation artifact known so far.
A server that builds OpenWrt firmware images uses an extremely weak hash (only 12 characters) to identify requests, allowing attackers to create fake images that match legitimate ones. Combined with command injection, attackers can inject malicious code into the build process and serve compromised firmware to users.
CVE-2024-54143 exploits truncated SHA-256 hashing (12 characters) in openwrt/asu's request mechanism to generate hash collisions, enabling cache poisoning of build artifacts. An unauthenticated attacker can combine this with command injection in Imagebuilder to execute arbitrary commands during firmware compilation, producing malicious signed images that replace legitimate builds in the cache.