Azure RTOS Elevation of Privilege Vulnerability (CVE-2021-42302)
An elevation of privilege vulnerability existed in Azure RTOS, where a malicious USB device could be used to exploit the system. An attacker could gain elevated privileges by having a user plug in a malicious USB device.
Originally disclosed on Microsoft
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
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 handling that fails to properly validate or isolate data from an attached USB device.
What the attacker needed
Victim plugs in a malicious USB device; device runs vulnerable Azure RTOS
The fix
The vulnerability was fixed in Azure RTOS version 6.1.9, and projects using the affected USBX classes should be recompiled with the updated source code.
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 in devices with limited resources. This bug meant that if someone plugged a malicious USB device into such a device, they could gain more control over it than they should have. The fix is in version 6.1.9, and developers need to recompile their projects with the updated code.