logoalt Hacker News

France's supermarket fridges were vulnerable online for months

66 points • by emot • today at 12:00 AM • 64 comments • view on HN

Comments

Confiks • today at 12:26 AM

So the author charitably calls the 2025 vulnerability a "login bypass", but it's much worse than that. The firmware included a "datetime-based password" mechanism: a built-in backdoor password, like it's the 90s again.

The original researcher published about this in August of this year [1], a year after reporting it, titling the report "Defrost the Food", which the attackers apparently took to be a good suggestion.

As the firmware is open for anyone to download [2], blurring the affected function seems more like an invitation to find out more. I know I was curious when the news about the fridges in France broke. The function's actually called "check_code_of_the_day", and this is the implementation:

  uchar check_code_of_the_day(LPCTSTR pass) {
    uchar uVar1;
    LPCTSTR pass_local;
    DATE_STRUCT date;
    INT32 tothex;
    INT32 hex;
    UTF8_STR buff;

    Get_syst_current_tds(&date);
    ftext_s(buff,0x1ff,"%02d%02d%02d%02d",date.month,date.day,date.year,date.month);
    sscanf(buff,"%lx",&tothex);
    ftext_s(buff,0x1ff,,date.day);
    sscanf(buff,"%lx",&hex);
    tothex = __aeabi_idiv(tothex,hex);
    ftext_s(buff,0x1ff,"%05ld",tothex % 100000);
    if ((((*pass == buff[0]) && (pass[1] == buff[1])) && (pass[2] == buff[2])) &&
       ((pass[3] == buff[3] && (pass[4] == buff[4])))) {
      uVar1 = '\x01';
    }
    else {
      uVar1 = '\0';
    }
    return uVar1;
  }
[1] https://www.claroty.com/team82/research/freeze-the-controlle...

[2] https://www.danfoss.com/en-us/service-and-support/downloads/...

➕ show 1 reply
SOLAR_FIELDS • today at 12:22 AM

Through my work I deal with grocery software and I can tell you that grocery software is ages behind the times. For most small retailers (small being a business owner with less than 10 stores in their retail chain, mostly local grocers) you are dealing with processes that would have been considered antique for the year 2000

➕ show 3 replies
Grimeton • today at 1:33 AM

>85% ran software with known security flaws. That includes 527 older controllers Danfoss no longer supports. Only 195 had every known fix.

As long as the fridges are used the controller has to be supported.

This isn't a raspberry pi $50 a pop...

➕ show 2 replies
Thaxll • today at 12:23 AM

No one at Danfoss got alerts than sudently hundred of fridges entered defrost mode? Reminds me of those computer you see at stores running weird ms-dos software.

➕ show 2 replies
gz5 • today at 12:47 AM

fridges are very reliable. but let's IoT them anyways so they can theoretically notify us if there is a problem.

so of course that creates/enables the problem and doesn't notify us.

deliciously ironic and rottingly sad.

this case was egregious - built-in backdoor pw - but that is downstream of the decisions to IoT them and to default them to listen on the network.

➕ show 3 replies
drillsteps5 • today at 12:41 AM

To be fair, their entire threat model was likely "who TF would want to break in to change the settings on a thermostat on a fridge at a grocery store".

A valid question which has yet to be answered (at least not publicly).

➕ show 1 reply
xp84 • today at 12:27 AM

Sadly, I guess they won't have to worry about patching this issue now that everything's been looted and burned down.

➕ show 2 replies
achillean • today at 12:29 AM

From 2017 through 2022 there was a large increase in the number of exposed refrigerators:

https://trends.shodan.io/search?query=http.favicon.hash:-853...

Over the past few years it has fluctuated but not the same continued growth as before. If you don't have a Shodan account you can see a chart on twitter:

https://x.com/shodanhq/status/2110526116679021055

joshuat • today at 12:57 AM

I'm not one to draw causality, but this vulnerability seems to have had quite the effect on France

fhdkweig • today at 12:34 AM

This is either a dupe or a followup of https://news.ycombinator.com/item?id=50055304 from 8 days ago with 1007 comments

➕ show 1 reply
paustint • today at 12:58 AM

When looters smash the glass door, it's pretty obvious the vulnerability has been there for YEARS!

➕ show 1 reply
willvk • today at 1:24 AM

So this is the real reason they're rioting. I'd be pissed too.

➕ show 1 reply
Cameri • today at 12:11 AM

Does this amount to gross negligence?

➕ show 5 replies
anonym29 • today at 12:54 AM

List of legitimate reasons for a refrigerator, an oven, a stove, a washing or drying machine, a microwave, a coffee maker, a sink, a garbage disposal, a toilet, a shower or bathtub, or any other home appliance to be connected to the internet:

➕ show 2 replies
l-mdev • today at 1:25 AM

suck it jian yang

NordStreamYacht • today at 12:50 AM

Backdoors on French fridges? I think they have a bigger problem right now with their front doors.