Six Unpatched Danfoss AK-SM800A Zero-Days Allow Controller Takeover

Researcher Carlo Meijer found six unpatched zero-days in Danfoss AK-SM800A refrigeration controllers that allow takeover; Belgium's CCB urges removing exposure.
Table of Contents
    Add a header to begin generating the table of contents

    Dutch researcher Carlo Meijer of Midnight Blue says he found six zero-days in the latest firmware of the Danfoss AK-SM800A refrigeration controller. The flaws are unpatched, and the Centre for Cybersecurity Belgium warns they could let attackers take control of devices without credentials.

    Six Flaws Found in Firmware 5.3.2 in Under an Hour

    Meijer says he found the vulnerabilities in firmware version 5.3.2 in under an hour of manual review, with no AI assistance. Five of the six flaws are crashes that a single-line cURL command can trigger, traced to unsafe strcpy() calls.

    The Sixth Flaw Is a Pre-Authentication Memory-Corruption Bug

    The sixth vulnerability is a pre-authentication memory-corruption bug in the “session control” strict authentication mode, which Danfoss added in later firmware. The stack buffer overflows can be turned into remote code execution, and the application runs as root.

    No Stack Canaries, No PIE, No Secure Boot

    The controllers lack stack canaries, position-independent executables and secure boot. Those gaps make persistence across resets feasible, and they would let an attacker wipe the flash or push malformed firmware to brick devices.

    What the Centre for Cybersecurity Belgium Warns Can Happen

    The Centre for Cybersecurity Belgium (CCB) warns that the flaws could let attackers take control of the controllers without credentials, keep access after resets, or disable the controllers. Food-supply operators that run internet-exposed units face takeover, spoilage or bricked devices.

    Danfoss Advice Versus Meijer’s Assessment

    Danfoss advised customers to rotate credentials, apply patches and enable strict session control. Meijer calls that advice insufficient, in part because the pre-authentication bug lives in the strict session control mode itself. He recommends removing internet exposure instead of patching piece by piece. The CCB likewise urges removing exposure and applying patches when they become available.

    Midnight Blue Says All Six Danfoss Flaws Are Pre-Authentication Stack Overflows

    Midnight Blue’s blog post, “Don’t bother patching: multiple remote code execution vulnerabilities in Danfoss AK-SM800A,” covers all firmware up to and including 5.3.2. CVE numbers were pending at publication because coordinated disclosure with Danfoss was still running. All six are pre-authentication stack-based buffer overflows, and the researchers say “hundreds of strcpy invocations exist in the codebase which are part of externally reachable and unauthenticated handler functions.”

    Oversized User-Agent Headers Reach the sm_fcgi_app Binary

    The sixth bug sits in the session control mechanism, where oversized User-Agent headers in HTTPS requests reach the sm_fcgi_app binary. Danfoss introduced security levels (backward compatible, permissive and strict) in firmware 4.0, with strict becoming the default. The researchers say session control “also has at least one trivial pre-authentication memory corruption vulnerability.”

    The exploit mitigations are thin: stack canaries are off, position-independent executables are not enabled, NX is enabled, RELRO is partial, and the i.MX6 processor has no secure boot. Without secure boot, attackers could implant firmware-level persistence that survives resets and updates, or brick units. Meijer demonstrated remote code execution with a simple command-line invocation, with endpoint details redacted pending disclosure. The firmware is freely downloadable from Danfoss’s site, and The Register’s headline quotes Meijer calling the finding “not rocket surgery.”

    Network Isolation Recommendations for AK-SM800A Asset Owners

    Midnight Blue says it “strongly recommend[s] asset owners allocate scarce security resources to” network isolation rather than patching. The steps are to inventory all internet-exposed controllers, including third-party connections, and to restrict management interfaces by VPN, private APN or restrictive IP allowlisting. Broad geofencing or blacklisting should not be relied on.

    Disclosure Arrives After Attacks on European Refrigeration Systems

    The disclosure lands amid a run of attacks on European supermarkets and blood banks in recent weeks, which gives the findings added weight for operators of cold-chain equipment. An earlier incident in which hackers hijacked Danfoss fridge controllers at French supermarkets is a separate case. The AK-SM800A research is a new vulnerability disclosure, not a report of attacks, and no exploitation of these six flaws has been reported.

    The researchers note that the AK-SM800, AK-SM800A and AK-EM100 models are in scope. Copeland and Dixell controllers, with over 1,000 exposed systems, and Eliwell controllers, with hundreds exposed and not yet targeted, sit in the same space. Danfoss holds IEC 62443-4-1 secure development lifecycle certification for its Climate Solutions and Electronic Controllers units, which the researchers use to illustrate the gap between certification and security posture.

    The earlier French campaign began October 11 against internet-exposed refrigeration controllers, triggered defrost cycles and caused millions in spoilage damage.

    No Patches Available Yet for the AK-SM800A Flaws

    Reporting on November 17 says the flaws are unpatched. That leaves removing internet exposure as the available defense. Because the application runs as root and the devices lack basic exploit mitigations, a successful memory-corruption exploit would give an attacker full control of the controller.

    Related Posts