Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2024-54143

CVE-2024-54143: OpenWrt ASU Hash Collision RCE Vulnerability

CVE-2024-54143 is a hash collision RCE flaw in OpenWrt ASU that allows attackers to poison the cache and deliver malicious firmware images. This post explains its impact, affected versions, and mitigation steps.

Published: April 15, 2026

CVE-2024-54143 Overview

CVE-2024-54143 is a critical vulnerability affecting the OpenWrt Attended Sysupgrade (ASU) server, an image-on-demand service for OpenWrt-based distributions. The vulnerability stems from a weak hash algorithm implementation where SHA-256 hashes are truncated to only 12 characters, significantly reducing entropy and making hash collision attacks feasible. This allows attackers to poison the artifact cache and deliver compromised firmware images to unsuspecting users.

Critical Impact

Attackers can exploit the hash truncation weakness to generate collisions, enabling cache poisoning attacks that serve malicious firmware images signed with legitimate build keys to end users.

Affected Products

  • OpenWrt ASU (Attended Sysupgrade) Server
  • OpenWrt-based distributions using ASU image building services
  • OpenWrt Imagebuilder components

Discovery Timeline

  • 2024-12-06 - CVE CVE-2024-54143 published to NVD
  • 2024-12-06 - Last updated in NVD database

Technical Details for CVE-2024-54143

Vulnerability Analysis

The vulnerability exists in the request hashing mechanism used by the OpenWrt ASU server. The core issue is classified as CWE-328 (Use of Weak Hash), where the implementation truncates SHA-256 hash values to only 12 characters. This drastic reduction in hash length significantly decreases the entropy of the hash output, making it computationally feasible for attackers to generate hash collisions through brute-force techniques.

When an attacker successfully generates a collision, they can substitute a legitimate firmware image request with a malicious one. Since the truncated hashes match, the caching mechanism serves the attacker-controlled malicious image instead of the legitimate build. This vulnerability becomes particularly dangerous when combined with a separate command injection flaw in the Imagebuilder component, allowing attackers to inject arbitrary commands into the build process and produce malicious firmware images that are signed with legitimate build keys.

Root Cause

The root cause is the inappropriate truncation of SHA-256 hashes to 12 characters in the EXTRA_IMAGE_NAME parameter within the build process. A full SHA-256 hash provides 256 bits of entropy, but truncating to 12 hexadecimal characters reduces this to approximately 48 bits, making collision generation practical with modern computing resources.

Attack Vector

The attack exploits the network-accessible ASU service without requiring authentication or user interaction. An attacker can:

  1. Analyze the hash truncation mechanism to understand collision requirements
  2. Generate a malicious firmware image with crafted parameters
  3. Compute hash collisions to match legitimate build requests
  4. Submit the malicious build to poison the cache
  5. When legitimate users request firmware builds, the cached malicious image is served instead

The following patch demonstrates how the vulnerability was present in the code:

python
        "image",
        f"PROFILE={build_request.profile}",
        f"PACKAGES={' '.join(build_cmd_packages)}",
-        f"EXTRA_IMAGE_NAME={packages_hash}",
+        f"EXTRA_IMAGE_NAME={packages_hash[:12]}",
        f"BIN_DIR=/builder/{request_hash}",
    ]

Source: GitHub Commit Update

Additionally, the patch introduced input validation patterns to strengthen security:

python
from typing import Annotated

from pydantic import BaseModel, Field

from asu.config import settings

STRING_PATTERN = r"^[\w.,-]*$"
TARGET_PATTERN = r"^[\w]*/[\w]*$"


class BuildRequest(BaseModel):
    distro: Annotated[

Source: GitHub Commit Update

Detection Methods for CVE-2024-54143

Indicators of Compromise

  • Unusual patterns of build requests with similar hash prefixes targeting the ASU server
  • Multiple firmware images in cache sharing identical 12-character hash values
  • Unexpected firmware image signatures or checksums that differ from official builds
  • Anomalous build request parameters or injection patterns in build logs

Detection Strategies

  • Monitor ASU server logs for repeated requests with hash collision patterns
  • Implement integrity verification by comparing firmware hashes against known-good OpenWrt releases
  • Analyze network traffic for suspicious bulk requests to the ASU image building service
  • Deploy file integrity monitoring on cached firmware images

Monitoring Recommendations

  • Enable detailed logging on ASU server instances to capture all build request parameters
  • Set up alerts for abnormal cache hit rates that may indicate poisoned cache entries
  • Regularly audit firmware images served from ASU against official OpenWrt checksums
  • Monitor for command injection patterns in Imagebuilder logs

How to Mitigate CVE-2024-54143

Immediate Actions Required

  • Update the OpenWrt ASU server to the patched version containing commit 920c8a1
  • Clear existing artifact cache to remove any potentially poisoned firmware images
  • Verify integrity of any firmware images recently downloaded from affected ASU instances
  • Review build logs for signs of command injection or malicious build requests

Patch Information

The vulnerability has been addressed in commit 920c8a13d97b4d4095f0d939cf0aaae777e0f87e. Organizations running OpenWrt ASU servers should apply this patch immediately. The fix implements proper hash handling and introduces input validation patterns using regex constraints (STRING_PATTERN and TARGET_PATTERN) to prevent injection attacks. For detailed patch information, refer to the GitHub Security Advisory GHSA-r3gq-96h6-3v7q.

Workarounds

  • Temporarily disable public access to ASU instances until patching is complete
  • Implement additional hash validation at the application layer using full SHA-256 hashes
  • Enable strict input validation and sanitization for all build request parameters
  • Consider using alternative firmware build methods that don't rely on vulnerable ASU caching
bash
# Example: Pull and apply the security patch
cd /path/to/asu
git fetch origin
git cherry-pick 920c8a13d97b4d4095f0d939cf0aaae777e0f87e
# Restart the ASU service after patching
systemctl restart asu

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechOpenwrt

  • SeverityCRITICAL

  • CVSS Score9.3

  • EPSS Probability2.00%

  • Known ExploitedNo
  • CVSS Vector
  • 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-328
  • Technical References
  • GitHub Commit Update

  • GitHub Security Advisory GHSA-r3gq-96h6-3v7q
  • Related CVEs
  • CVE-2020-7982: OpenWrt LEDE RCE Vulnerability

  • CVE-2025-20674: OpenWrt Privilege Escalation Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English