Skip to content
Access control Advisory Advanced

Microsoft Azure Sphere Security Monitor SMSyscallCommitImageStaging stage-without-manifest denial of service vulnerability

A missing check in Azure Sphere's Security Monitor allows flashing a Trusted Keystore image without a manifest, which can cause the device to boot-loop and require manual recovery. The vulnerability is theoretical and only confirmed in development mode.

Claudio Bozzato Follow

Originally disclosed on Cisco Talos

Medium 6.0 View original

A denial of service vulnerability exists in the Security Monitor SMSyscallCommitImageStaging stage-without-manifest functionality of Microsoft Azure Sphere 21.01. A specially crafted image package can lead to boot looping, requiring manual recovery.

Claudio Bozzato and Lilith >_>, 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 SMSyscallCommitImageStaging syscall does not enforce that a manifest is staged before committing a Trusted Keystore image, allowing installation without proper authorisation.

Impact

The device could enter a boot loop and require manual recovery, causing a denial of service; however, this was only demonstrated in development mode and has not been confirmed in production.

What the attacker needed

Development mode device; AZURE_SPHERE_CAP_UPDATE_IMAGE capability or kernel…; ability to flash a malicious image

How it was found

  1. Obtain the AZURE_SPHERE_CAP_UPDATE_IMAGE capability or kernel privileges.
  2. Use the image staging syscalls to stage a Trusted Keystore image without a manifest.
  3. Commit the staged image.
  4. Install the staged image.
  5. Reboot the device, which then fails to verify firmware and boot-loops.

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 secure platform for internet-of-things devices. The Security Monitor is a low-level component that checks what software can be installed. The report found that a particular security-critical file (the Trusted Keystore) could be replaced without the usual signed permission slip (manifest), and using an old version could stop the device from starting up properly.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More by Claudio Bozzato

View all

13 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.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.