CVE-2021-42311: Microsoft Azure Defender for IoT update-handshake Endpoint SQL Injection Authentication Bypass Vulnerability
Microsoft Defender for IoT Remote Code Execution Vulnerability
Other sources
This vulnerability allows remote attackers to bypass authentication on affected installations of Microsoft Azure Defender for IoT. Authentication is not required to exploit this vulnerability. The specific flaw exists within the update-handshake endpoint. The issue results from the lack of proper validation of a user-supplied string before using it to construct SQL queries. An attacker can leverage this vulnerability to bypass authentication on the system and execute arbitrary code in the context of root.
— ZDI
Affected Software
Remediation
Event History
Frequently Asked Questions
What is CVE-2021-42311?
CVE-2021-42311 is a vulnerability in Microsoft Azure Defender for IoT that allows remote attackers to bypass authentication.
How can remote attackers exploit CVE-2021-42311?
Remote attackers can exploit CVE-2021-42311 by bypassing authentication on affected installations of Microsoft Azure Defender for IoT.
What software versions are affected by CVE-2021-42311?
Microsoft Defender for IoT versions up to and excluding 10.5.2 are affected by CVE-2021-42311.
How severe is CVE-2021-42311?
CVE-2021-42311 has a severity value of 10, which is classified as critical.
Are there any patches or remedies available for CVE-2021-42311?
Yes, Microsoft has released patches and remediation guidance for CVE-2021-42311. You can find the details in the Microsoft Security Guidance Advisory.