Skip to content
DoS Advisory Advanced

Microsoft Azure Sphere networkd mdns denial-of-service vulnerability

A race condition exists in the networkd mDNS functionality of Microsoft Azure Sphere 20.07: if another application binds to UDP port 5353 before networkd does, the device becomes unresponsive and requires manual recovery. An attacker with local access could exploit this to cause a denial of service.

Lilith >_> Follow

Originally disclosed on Cisco Talos

Medium 5.9 View original

A denial-of-service vulnerability exists in the networkd mDNS functionality of Microsoft Azure Sphere 20.07. A specific bind call can cause a denial of service, requiring manual recovery.

Lilith >_>, Claudio Bozzato and Dave McDaniel, on Cisco Talos

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely, the networkd service does not handle the failure of its bind() call to UDP port 5353 gracefully, leading to a soft-lockup when the port is already taken.

Impact

An attacker could cause a denial of service, rendering the device unresponsive until manual recovery is performed.

What the attacker needed

Local access to the device; ability to run code before networkd starts; or ability to crash networkd to trigger restart

How it was found

  1. Ensure an application can bind to UDP port 5353 before networkd starts.
  2. Trigger a restart of networkd or reboot the device so that networkd attempts to bind to port 5353.
  3. The bind fails because the port is already in use, and the device becomes unresponsive.
  4. Recover the device manually over USB using the azsphere dev recover command.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

This report describes a denial-of-service bug in a small internet-of-things device. When the device starts up, a background program tries to claim a network port (a numbered channel for network communication). If another program grabs that port first, the device freezes and must be manually reset. An attacker who can run code on the device early enough could trigger this freeze.

What is DoS?

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.

More by Lilith >_>

View all

4 more disclosed reports, best first.

More from Cisco Talos

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.