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

Published Dec 6, 2024
·
Updated

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.

Affected Software

1 affected component
OpenWrt asu<920c8a1

Event History

Dec 6, 2024
CVE Published
via MITRE·04:14 PM
Data Sourced
via MITRE·04:14 PM
DescriptionWeakness
Data Sourced
via NVD·05:15 PM
DescriptionSeverityWeakness
Dec 9, 2024
News Published
via The Register·02:04 PM
News Published
via The Register·02:09 PM
News Published
via BleepingComputer·10:33 PM
News Published
via BleepingComputer·10:35 PM

Frequently Asked Questions

1

What is the severity of CVE-2024-54143?

CVE-2024-54143 is considered to have a high severity due to its significant reduction of hash entropy, which allows for potential collision attacks.

2

How do I fix CVE-2024-54143?

To fix CVE-2024-54143, update the OpenWrt asu package to a version that includes enhancements to the request hashing mechanism to avoid truncation of SHA-256 hashes.

3

What specifically does CVE-2024-54143 affect?

CVE-2024-54143 specifically affects the OpenWrt asu image on demand server.

4

How can CVE-2024-54143 be exploited?

CVE-2024-54143 can be exploited by generating hash collisions due to the truncation of SHA-256 hashes, allowing for potential unauthorized access or manipulation.

5

Which versions of OpenWrt asu are affected by CVE-2024-54143?

Versions of OpenWrt asu prior to commit 920c8a1 are affected by CVE-2024-54143.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203