Microsoft Azure Sphere asynchronous ioctl denial-of-service vulnerability
A denial-of-service vulnerability exists in the asynchronous ioctl functionality of Microsoft Azure Sphere 20.05. A sequence of specially crafted ioctl calls can cause a denial of service, and an attacker can write shellcode to trigger it.
Originally disclosed on Cisco Talos
A denial-of-service vulnerability exists in the asynchronous ioctl functionality of Microsoft Azure Sphere 20.05. A sequence of specially crafted ioctl calls can cause a denial of service.
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 Pluton ring buffer code enters an infinite loop when the M4 to A7 ring buffer is full, causing a hardware watchdog reset.
Impact
An attacker could cause a denial of service by rebooting the device, but the vulnerability requires local access and the ability to write shellcode.
What the attacker needed
Local access to the device; ability to write shellcode; access to /dev/pluton
How it was found
- Open /dev/pluton with O_ASYNC to enable asynchronous mode.
- Send a continuous stream of asynchronous ioctl requests, such as PLUTON_SIGN_WITH_TENANT_ATTESTATION_KEY.
- The repeated requests fill the M4 to A7 ring buffer completely.
- The kernel driver seeks a new empty buffer but never returns, causing a watchdog reset and device reboot.
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.
Azure Sphere is a platform for internet-of-things devices. The driver for a hardware security chip can be given many asynchronous requests at once, which fills up a shared buffer and causes the device to reboot. An attacker with local access can repeatedly send these requests to crash the device.
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.