Skip to content
Memory corruption Advisory Advanced

Microsoft Azure Sphere Pluton SIGN_WITH_TENANT_ATTESTATION_KEY memory corruption vulnerability

A memory corruption vulnerability exists in the Pluton SIGN_WITH_TENANT_ATTESTATION_KEY functionality of Microsoft Azure Sphere 20.07. An attacker can issue an ioctl from the Normal World with a specially crafted digest object to trigger an out-of-bounds write in Pluton, potentially leading to arbitrary code execution.

Lilith Follow

Originally disclosed on Cisco Talos

Critical 9.3 View original

A memory corruption vulnerability exists in the Pluton SIGNWITHTENANTATTESTATIONKEY functionality of Microsoft Azure Sphere 20.07. A sequence of specially crafted ioctl calls can cause memory corruption in Pluton.

Lilith >_>, Claudio Bozzato and Dave McDaniel, 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 Pluton firmware copies a user-controlled buffer of user-controlled length without any bounds check, leading to an out-of-bounds write.

Impact

An attacker could, with careful control of the size and contents of the buffer, corrupt memory in Pluton and potentially execute arbitrary code, depending on how memory is mapped.

What the attacker needed

Local access to the device; ability to open /dev/pluton

How it was found

  1. Open the /dev/pluton device.
  2. Prepare an azure_sphere_digest object with a size field set to a large value such as 0x1de1.
  3. Issue the PLUTON_SIGN_WITH_TENANT_ATTESTATION_KEY ioctl with that object.
  4. Observe the device panic and 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. A part of it called Pluton handles security functions. The driver that lets programs talk to Pluton does not check the size of the data it copies, so a program can send too much data and overwrite memory, which could let an attacker run their own code.

What is Memory corruption?

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.

More by Lilith

View all

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

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.