Skip to content
Info disclosure Advisory Advanced

Microsoft Azure Sphere Security Monitor SMSyscallPeripheralAcquire information disclosure vulnerability

An information disclosure vulnerability exists in the Security Monitor SMSyscallPeripheralAcquire functionality of Microsoft Azure Sphere 21.01. A specially crafted syscall can lead to leaking heap data from Security Monitor memory.

Claudio Bozzato Follow

Originally disclosed on Cisco Talos

Medium 4.4 View original

An information disclosure vulnerability exists in the Security Monitor SMSyscallPeripheralAcquire functionality of Microsoft Azure Sphere 21.01. A specially crafted syscall can lead to leaking heap data.

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 a structure allocated for peripheral acquisition is not fully initialised, leaving two bytes uninitialised that are later copied into the output buffer.

Impact

An attacker with the required capability could leak heap data from Security Monitor memory, potentially disclosing sensitive information.

What the attacker needed

Elevated privileges or…

How it was found

  1. Obtain the AZURE_SPHERE_CAP_PERIPHERAL_PIN_MAPPING capability.
  2. Prepare an input buffer with owner_id, desired_pin_mode, and a list of peripheral pin IDs.
  3. Invoke the SMSyscallPeripheralAcquire syscall with the input and output buffers.
  4. Observe the output buffer entries where the holds_??? field contains leaked heap data.

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. A syscall is a way for a program to ask the operating system to do something. Here, a specific syscall that manages hardware pins returns more data than it should, including leftover memory contents from the security monitor. An attacker who already has high privileges could use this to read sensitive information from memory.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

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.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.