Skip to content
Advisory Advanced CVE-2021-42303

Azure RTOS Elevation of Privilege Vulnerability (CVE-2021-42303)

A vulnerability existed in Azure RTOS's USB stack (USBX) that could allow elevation of privilege. An attacker could exploit it by getting a user to plug in a malicious USB device, though the text does not describe the technical mechanism.

Szymon Heidrich Follow

Originally disclosed on Microsoft

High 6.6 View original

FAQ

What is RTOS? Azure RTOS is an embedded development suite including a small but powerful operating system that provides reliable, ultra-fast performance for resource-constrained devices. See Azure RTOS Overview for more information. What version of Azure RTOS has the update that protects from this vulnerability? Version 6.1.9 According to the CVSS, User Interaction is Required. What interaction would the user have to do? Exploitation of this vulnerability requires that a user plug in a malicious USB device.

FAQ

What is the action required to take the update? You need to recompile your project with updated USBX source code if the project uses host audio/video/CDC-ECM/PIMA, or device storage class.

Azure Real Time Operating System

Azure Real Time Operating System

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Szymon Heidrich. Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

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 flaw in the USBX host or device class code that mishandles data from an attached USB device, though the text does not state the specific mistake.

What the attacker needed

Victim plugs in a malicious USB device; device runs vulnerable Azure RTOS

The fix

The issue was fixed in Azure RTOS version 6.1.9, and projects using the affected USB classes should be recompiled with the updated USBX source.

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 RTOS is a small operating system used inside embedded devices. This report says a flaw in its USB handling could let someone with a specially crafted USB stick gain more control than they should. The user has to physically plug the device in, and the text does not explain how the flaw actually works.

More by Szymon Heidrich

View all

4 more disclosed reports, best first.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

Same bug class and techniques, clearest first.