Skip to navigation

Threat reportVulnerabilityTL-2026-6258

Six Pre-Auth RCE Zero-Days (Stack Buffer Overflows) in Danfoss AK-SM800A Refrigeration Controllers (No CVEs Assigned)

highTRACKING

Midnight Blue researcher Carlo Meijer reported six pre-authentication stack-based buffer overflows leading to remote code execution in Danfoss AK-SM800A refrigeration controllers, affecting all firmware up to and including 5.3.2. CVEs are pending coordinated disclosure; no patch is available and neither BSI nor the researchers link the flaws to the ongoing attacks on internet-exposed Danfoss and Copeland controllers across Europe.

Key facts

IdentifiersTL-2026-6258, CVE-2025-41450, CVE-2023-25913
SeverityHIGH
First disclosed
EPSSCVE-2025-41450: 0.9% (61.2th percentile)
Affected productsDanfoss AK-SM800A (Danux firmware; sm_app and sm_fcgi_app)
Weaknesses (CWE)CWE-121, CWE-120
MITRE ATT&CK techniquesT1059.004 Unix Shell, T1190 Exploit Public-Facing Application, T1495 Firmware Corruption, T1561.001 Disk Content Wipe, T1588.005 Exploits, T1595.002 Vulnerability Scanning
MotivationUNKNOWN
Target sectorsretail, food and beverage, cold chain, industrial control systems
Target regionsEurope
Detection rules9 (1 shown free)
Sources8 cited sources

Detection coverage

As of 2026-11-17, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-6258 across Splunk SPL, Microsoft KQL and Sigma, covering 11 indicator(s) of compromise. The whole corpus is readable without an account. Every threat comes with one complete detection in Splunk SPL, Microsoft KQL and Sigma, free for everyone; a free account adds daily TL Creds to unlock the rest. Paid plans add a larger daily allowance, correlation and the MCP server. Threadlinqs MCP server · View plans.

Free detection: Danfoss AK-SM800A Oversized User-Agent or CGI POST Body (sm_fcgi_app / sm_app Pre-Auth Overflow Attempt)

TL-2026-6258: Midnight Blue reported six pre-auth stack buffer overflows (unbounded strcpy, CWE-121/CWE-120) in Danfoss AK-SM800A firmware <= 5.3.2. Published crash triggers were an oversized POST body to a .cgi handler forwarded by NGINX to sm_app (Task_Web) and an abnormally long User-Agent that crashed sm_fcgi_app even in Strict mode. This behaviour-first search flags HTTP requests with a User-Agent over 512 characters, or POST bodies over 8 KB to .cgi paths, in Zeek HTTP logs. Endpoint names are undisclosed and no CVE exists, so the logic is built on the documented trigger conditions (T1190, T1499) rather than a signature.

  • Languages: Splunk SPL, Microsoft KQL, Sigma
  • ATT&CK: T1190, T1499
  • Data sources: zeek_http (index=network, sourcetype=bro:http:json), CommonSecurityLog (WAF/firewall CEF), webserver access logs (Sigma category webserver)
  • Severity: high
  • Confidence: medium

Splunk SPL

index=network sourcetype="bro:http:json" earliest=-24h
| rename "id.orig_h" as src_ip, "id.resp_h" as dest_ip
| eval uri_lc=lower(coalesce(uri,"")), ua_len=len(coalesce(user_agent,"")), body_len=tonumber(coalesce(request_body_len,0))
| eval is_cgi=if(like(uri_lc,"%.cgi%"),1,0)
| where ua_len>512 OR (is_cgi=1 AND method="POST" AND body_len>8192)
| eval trigger=case(ua_len>512 AND is_cgi=1,"oversized_user_agent_on_cgi",ua_len>512,"oversized_user_agent",true(),"oversized_post_body_on_cgi")
| stats count min(_time) as first_seen max(_time) as last_seen max(ua_len) as max_ua_len max(body_len) as max_body_len values(uri) as uris values(status_code) as status_codes by src_ip dest_ip trigger
| convert ctime(first_seen) ctime(last_seen)
| sort - max_ua_len

Microsoft KQL

CommonSecurityLog
| where TimeGenerated > ago(24h)
| extend UaLen = strlen(RequestClientApplication), IsCgi = tolower(RequestURL) contains '.cgi'
| where UaLen > 512 or (IsCgi and RequestMethod =~ 'POST' and SentBytes > 8192)
| extend Trigger = case(UaLen > 512 and IsCgi, 'oversized_user_agent_on_cgi', UaLen > 512, 'oversized_user_agent', 'oversized_post_body_on_cgi')
| summarize Requests = count(), MaxUaLen = max(UaLen), MaxBytesSent = max(SentBytes), Uris = make_set(RequestURL, 10), FirstSeen = min(TimeGenerated), LastSeen = max(TimeGenerated) by SourceIP, DestinationIP, Trigger
| order by MaxUaLen desc

Sigma

title: Danfoss AK-SM800A Oversized User-Agent or CGI POST Body (Pre-Auth Overflow Attempt)
id: 3f1c6a52-8d1e-4b7a-9a0c-5e2b7d9c1a01
status: experimental
description: |
  Detects requests matching the documented crash-trigger conditions of the six unauthenticated
  stack buffer overflows in Danfoss AK-SM800A firmware up to 5.3.2 (TL-2026-6258): an abnormally
  long User-Agent (sm_fcgi_app) or an oversized POST body to a .cgi handler (sm_app Task_Web).
  No CVE is assigned and endpoint names are undisclosed, so the rule is behaviour-based.
references:
  - https://www.midnightblue.nl/blog/multiple-rce-danfoss-aksm800a
  - https://securityaffairs.com/203324/security/fridge-controller-attacks-researchers-find-six-zero-days-in-an-hour.html
author: Threadlinqs Team
date: 2026-11-17
tags:
  - attack.initial-access
  - attack.t1190
  - attack.impact
  - attack.t1499
logsource:
  category: webserver
detection:
  selection_long_ua:
    c-useragent|re: '^.{513,}$'
  selection_large_cgi_post:
    cs-method: 'POST'
    cs-uri-stem|endswith: '.cgi'
    cs-bytes|gte: 8192
  condition: 1 of selection_*
falsepositives:
  - Legitimate configuration or firmware uploads by service engineers through the controller web UI
  - Security scanners or fuzzers run by an authorised assessment team
level: high

Known false positives:

  • Legitimate configuration, backup or firmware uploads (large POST bodies) by service engineers or integrators
  • Authorised vulnerability scanners or fuzzing tools that send long headers
  • Unusual but benign client software that appends very long User-Agent strings

Tuning notes: Restrict dest_ip to your inventoried AK-SM800A controllers (lookup or CIDR) to remove unrelated web traffic. Baseline legitimate upload sizes from known service-provider source IPs and raise the 8192-byte body threshold or allowlist those sources. Pair hits with HTTP 5xx/connection resets from the controller (see TL-2026-6258-SIG-001) to raise confidence. Endpoint names are withheld by researchers; revisit with specific .cgi paths once coordinated disclosure completes.

8 more detection rules (Splunk SPL, Microsoft KQL, Sigma) · unlock with TL Creds. Sign up free to unlock the detection rules or query them with the Threadlinqs MCP server (Purple)
  • Danfoss AK-SM800A CGI Endpoint Enumeration or Fuzzing From a Single Source · unlock with TL Creds
  • Danfoss AK-SM800A Controller Account, Remote-Access, Config or Log Tampering · unlock with TL Creds
  • Danfoss AK-SM800A Controller-Initiated Outbound Connections (Payload Fetch / Reverse Shell / C2) · unlock with TL Creds
  • Danfoss AK-SM800A NGINX 502/504 on POST to CGI Handler (Backend Crash During Exploitation) · unlock with TL Creds
  • Danfoss AK-SM800A Shell Spawned by [indicator] or [indicator] · unlock with TL Creds
  • Download or Reverse-Shell Utilities Executed on Danfoss AK-SM800A Controllers · unlock with TL Creds
  • Danfoss AK-SM800A [indicator] / [indicator] / Task_Web Crash-Restart Loop · unlock with TL Creds
  • Danfoss AK-SM800A Flash Erase or Firmware Overwrite Commands (Bricking / Wipe Attempt) · unlock with TL Creds

Indicators of compromise

As of 2026-11-17, Threadlinqs Intelligence tracks 11 indicators of compromise for TL-2026-6258.

11 indicators of compromise · unlock with TL Creds. Compare plans

Technical analysis

Midnight Blue's Carlo Meijer found six pre-authentication stack-based buffer overflows in the Danfoss AK-SM800A supermarket/refrigeration system manager. Five are in unauthenticated web request handlers of the monolithic main application sm_app (the 'Task_Web' task, reached when NGINX forwards .cgi requests); the sixth is in sm_fcgi_app, the gateway/session-control component that enforces Strict mode. The flaws are mostly unbounded strcpy() calls on attacker-controlled input. In published testing a crafted POST body crashed an sm_app handler and an oversized User-Agent header crashed sm_fcgi_app in an emulator with Strict mode enabled. Exploit details and endpoint names are withheld pending coordinated disclosure; Midnight Blue says the sm_fcgi_app bug may lead to code execution with more work, and reports that strcpy()'s null-byte termination complicates exploitation but was overcome. All versions up to and including 5.3.2 are affected (initial PoC on firmware 3.3.0; later builds, including emulation of 4.2.4, remain vulnerable). Reporting says firmware 5.4.0, probably built on 29 October, reportedly does not fix the issues; BSI first said 5.4.0 was unaffected and then said it could not rule it out.

Platform hardening is weak: sm_app runs as root on 'Danux', a custom Yocto Linux on an i.MX6 SoC, contains hundreds of unchecked strcpy calls, and is built without stack canaries or PIE (NX enabled, partial RELRO). The device does not enforce secure boot (i.MX6 OTP fuses checked). Midnight Blue describes as theoretical, and did not demonstrate, an implant surviving factory reset and firmware update, hiding activity from logs, changing settings or triggering defrosts, and bricking a unit by wiping flash or pushing malformed firmware, which could leave refrigeration offline for days. Strict session control (default since 4.0; HTTPS plus an AKSM-auth session token header) blocks most unauthenticated attacks and is recommended by CERT-FR, but the researchers argue it does not remove the underlying bugs and that the sm_fcgi_app flaw sits in the very component enforcing it.

Context: since 11 October 2026 attackers have targeted internet-exposed Danfoss and Copeland/Dixell controllers across Europe, starting in France, with a second wave on 2 November. Reported effects include forced defrost cycles, spoiled food valued in the tens of millions of euros, and some fires. Earlier AK-SM800A flaws (CVE-2025-41450 code-of-the-day authentication bypass, CVE-2025-41451 command injection) had public exploits within 48 hours of the French attacks; Danfoss said most affected French units were older or ran outdated firmware. SentinelOne says attribution is open and one actor should not be assumed. BSI knows of no in-the-wild exploitation of the six new flaws, and agencies and researchers do not link them to the autumn incidents. There is no CVE, CVSS score or public PoC; the HIGH severity is an analyst judgment (unauthenticated, network-reachable RCE as root), not a source-stated score. Censys shows hundreds of Danfoss systems (some probably honeypots) and over 1,000 Copeland/Dixell controllers exposed; the researchers recommend the same exposure reduction for similar products (for example Eliwell).

MITRE ATT&CK techniques by tactic:

Execution

T1059.004 Unix Shell

Initial Access

T1190 Exploit Public-Facing Application

Impact

T1495 Firmware Corruption; T1561.001 Disk Content Wipe

Resource Development

T1588.005 Exploits

Reconnaissance

T1595.002 Vulnerability Scanning

Remediation

Patches

  • No patch available for the six flaws; firmware 5.4.0 reportedly does not fix them
  • Keep firmware current for the earlier CVE-2025-41450/41451/41452 (R4.3.1 or later)

Immediate actions

  • Inventory all Danfoss AK-SM800A, Copeland and Dixell controllers, including those reachable through system-integrator 4G modems
  • Remove direct internet exposure; restrict management interfaces to a VPN, private APN or a highly restrictive firewall IP allowlist (broad geofencing or blacklisting is insufficient)
  • Enable Strict session control (HTTPS plus AKSM-auth session token) as an interim measure, knowing it does not remove the underlying bugs
  • Check controller settings for unauthorized changes to temperatures, defrost schedules, alarms, user accounts and remote access (Belgian and Irish agency advice)
  • If compromise is suspected, change all passwords and verify connected equipment (BSI advice)

Workarounds

  • Reduce exposure rather than rely on patching, per Midnight Blue
  • Apply the same exposure reduction to similar controllers from other vendors (for example Eliwell)

Longer-term hardening

  • Treat IP allowlisting as an intermediate measure only (CERT-FR) because of configuration drift
  • Set up secure remote access for service providers instead of simply disconnecting them; review contracts and insurance first
  • Segment refrigeration/OT controllers from business networks and monitor them for anomalous web requests

Affected and fixed versions

  • Danfoss — AK-SM800A (Danux firmware; sm_app and sm_fcgi_app)
    Vulnerable versions: all versions up to and including 5.3.2

Timeline

  • CISA publishes ICSA-25-140-03 for Danfoss AK-SM 8xxA (CVE-2025-41450 authentication bypass); Update A on 2025-08-26 adds CVE-2025-41451 and CVE-2025-41452, fixed in 4.3.1.
  • Attacks on internet-exposed Danfoss and Copeland refrigeration controllers begin in France and spread across Europe: forced defrosts, spoiled food, some fires.
  • Danfoss tells trade press that most affected French units were older models or ran outdated firmware.
  • Within 48 hours of the French attacks, public PoCs for the earlier CVE-2025-41450 appear on GitHub (exact date approximate, per Midnight Blue).
  • Firmware 5.4.0 is likely built on this date, before the six flaws were disclosed; it reportedly does not fix them.
  • Second wave of attacks on exposed refrigeration controllers across Europe.
  • Censys shows hundreds of Danfoss systems (some probably honeypots) and over 1,000 Copeland/Dixell controllers exposed online.
  • Midnight Blue and Security Affairs publicly report six pre-auth RCE zero-days in AK-SM800A <= 5.3.2; CVEs pending, BSI sees no in-the-wild exploitation of these flaws.

Sources cited

Other reports on CVE-2025-41450

Drafted by the Threadlinqs research pipeline from 8 sources; published ; last updated —.

Threadlinqs Intelligence — Real-Time Threat Detection Platform

// threat_feed
$ sort --newest
Showing all threats

Live intelligence console

Threat level

Latest Threats