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.
Originally disclosed on Cisco Talos
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.
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
- Obtain the AZURE_SPHERE_CAP_PERIPHERAL_PIN_MAPPING capability.
- Prepare an input buffer with owner_id, desired_pin_mode, and a list of peripheral pin IDs.
- Invoke the SMSyscallPeripheralAcquire syscall with the input and output buffers.
- 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.