Researchers have uncovered six critical security vulnerabilities that allow unauthorized control of supermarket refrigeration systems. These flaws, found in the Danfoss AK-SM800A controllers, enable remote code execution without prior authentication. Discovered by Midnight Blue’s Carlo Meijer, the vulnerabilities are stack-based buffer overflows affecting all firmware versions up to 5.3.2, with no CVE numbers assigned yet.
Impact of Recent Cyber Attacks
Since October 11, Europe has witnessed a series of cyber attacks targeting internet-exposed Danfoss and Copeland fridge controllers. Attackers have initiated defrost cycles, causing significant financial losses estimated at tens of millions of euros. Some incidents have even led to fires, as documented in incident summaries. Cyber Security News has tracked 4,980 exposed Danfoss hosts since the attacks began.
The origins of these attacks remain uncertain. Although France attributes the incidents to Iran’s Shahid Kaveh unit, cybersecurity firm SentinelOne suggests the possibility of multiple operators. The French cybersecurity agency ANSSI highlights that exposed admin pages and weak passwords, rather than older vulnerabilities, may be primary factors.
Technical Insights into the Vulnerabilities
Carlo Meijer identified these vulnerabilities by downloading the public firmware and running the program in an emulator. He pinpointed flaws in the code’s use of the strcpy function, which lacks size checks, leading to potential memory overflow. A particular web handler crashed from a long input string, revealing several similar bugs. The absence of stack canaries and PIE protections further aggravated the situation, facilitating exploitation.
Midnight Blue demonstrated a working exploit on older firmware. Although newer firmware versions have added session controls and stricter access settings, vulnerabilities persist. For instance, sm_fcgi_app, a component responsible for login verification, remains susceptible even in the latest firmware.
Mitigation and Future Outlook
The research team cautions that patching individual bugs is inefficient, recommending a comprehensive approach to identify all exposed controllers. Strategies include relocating remote access behind VPNs, private APNs, or strict IP allow lists. However, CERT-FR warns that allow lists are only a temporary solution.
The exposure threat remains significant, with Censys indexing numerous Danfoss devices online. Similar patterns were observed in earlier Copeland XWEB Pro vulnerabilities. Until these controllers are adequately secured from the internet, they pose ongoing risks to food and medicine safety. Organizations are encouraged to bolster their threat intelligence to quickly mitigate such incidents.
