openwrt/asu allows build artifact poisoning via truncated SHA-256 hash and command injection
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.
Want to know if your infrastructure is exposed to this?
Talk to TrueHacking →