Skip to content
Access control Advisory Advanced

Microsoft Azure Sphere Security Monitor SMSyscallCommitImageStaging 1BL firmware downgrade vulnerability

A firmware downgrade vulnerability exists in the Security Monitor SMSyscallCommitImageStaging 1BL functionality of Microsoft Azure Sphere 21.01. A specially-crafted set of Secmon syscalls can lead to downgrading the version of the 1BL firmware.

Claudio Bozzato Follow

Originally disclosed on Cisco Talos

Medium 6.0 View original

A firmware downgrade vulnerability exists in the Security Monitor SMSyscallCommitImageStaging 1BL functionality of Microsoft Azure Sphere 21.01. A specially-crafted set of Secmon syscalls can lead to downgrading the version of the 1BL firmware.

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 1BL firmware installation lacks a version check, allowing an older signed 1BL to be committed if a trusted key is present.

Impact

An attacker with high privileges could downgrade the 1BL firmware to an older version, potentially enabling exploitation of known vulnerabilities in that version; however, this was only demonstrated in development mode and not confirmed in production.

What the attacker needed

Elevated privileges or AZURE_SPHERE_CAP_UPDATE_IMAGE; device in development mode; Trusted Keystore with key for older 1BL

How it was found

  1. Obtain the AZURE_SPHERE_CAP_UPDATE_IMAGE capability or kernel privileges.
  2. Use Secmon syscalls to stage an older recovery manifest that includes a 1BL image.
  3. Commit the staged image via SMSyscallCommitImageStaging, which succeeds if the Trusted Keystore has a key to verify the older 1BL.
  4. Install the staged images to downgrade the 1BL firmware.

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 way to make a secure IoT device run an older version of its low-level firmware (called 1BL). An attacker who already has high privileges could use special system calls to install an outdated firmware version, which might have known security holes. The issue was only shown in development mode, not in production.

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.