Could OpenWrt’s ASU Vulnerability Expose Users to Malicious Firmware?

A critical security flaw, identified as CVE-2024-54143, in OpenWrt’s Attended Sysupgrade (ASU) feature has raised substantial concerns among users about the potential for malicious firmware injection. Discovered by Flatt Security researcher RyotaK, this vulnerability holds a severity score of 9.3 out of 10, underscoring its dangerous potential. The flaw involves a combination of a command injection issue within the image builder and the use of a truncated SHA-256 hash, which, together, could enable attackers to craft package lists that lead to hash collisions, thus contaminating legitimate firmware images.

The exploitation of this vulnerability could allow attackers to insert arbitrary commands into the firmware build process, resulting in malicious firmware images signed with legitimate keys. Moreover, taking advantage of the 12-character SHA-256 hash collision related to the build key could facilitate attackers to replace legitimate firmware images with malicious ones, posing a significant supply chain risk to users. Alarmingly, no authentication is required to exploit this flaw, which increases the ease with which an attacker can submit crafted build requests and initiate a malicious firmware injection.

OpenWrt has responded quickly to this serious issue, releasing a patch with ASU version 920c8a1 to address the vulnerability. Users are strongly urged to update to the latest version immediately to prevent potential exploitation. While it remains unclear whether the vulnerability has been exploited in the wild, the fact that it has existed for some time accentuates the urgency for users to apply the update. Keeping firmware updated is essential for securing routers and embedded devices against vulnerabilities that could compromise system integrity and user data.

In summary, the identified flaw in OpenWrt’s ASU feature highlights the paramount importance of timely updates and vigilant security practices. The vulnerability’s nature and potential impact stress the critical need for users to act swiftly by updating their systems. Although the threat has been patched, this incident serves as a timely reminder of the ever-present risks in the tech landscape and the need for continuous improvement in security measures.

Explore more