CVE-2021-42313
published 2021-12-15CVE-2021-42313: Microsoft Defender for IoT Remote Code Execution Vulnerability
PriorityP261critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EPSS
3.82%
89.0th percentile
Microsoft Defender for IoT Remote Code Execution Vulnerability
Affected
3 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| microsoft | defender_for_iot | < 10.5.2 | 10.5.2 |
| microsoft | microsoft_defender_for_iot | >= 22.0.0 < 10.5.2 | 10.5.2 |
| msrc | microsoft_defender_for_iot | — | — |
Detection & IOCsextracted from sources · hover to see the quote
- →CVE-2021-42313 is a SQL injection vulnerability exploitable via an unsanitized parameter passed into a SQL query on the Microsoft Defender for IoT web interface, accessible without authentication. ↗
- →Monitor for unauthenticated POST requests to the ZipFileConfigurationApiHandler endpoint with 'path' parameter set to 'reset_password', which triggers ZIP extraction to /var/cyberx/reset_password — a prerequisite step in the attack chain. ↗
- →Monitor for unauthenticated POST requests to the PasswordRecoveryApiHandler endpoint; the handler proceeds to reset passwords even when certificate validation fails (exception is caught and swallowed), enabling authentication bypass. ↗
- →Detect access to the password recovery page at https://<ip>/login#/dashboard from unexpected or external sources, as this is the entry point for the unauthenticated password reset attack chain. ↗
- →Alert on internal HTTP POST requests to http://127.0.0.1:9090/core/api/v1/login/reset-password originating from the web application process, which indicates the password reset flow has been triggered. ↗
- ·The decryption key for the product.tar.gz archive is shared across all Defender for IoT installations, meaning any attacker who extracts it from one installation can decrypt source files from any other installation. ↗
- ·Both the Management and Sensor components share roughly the same code base, so both are affected by the same vulnerabilities including CVE-2021-42313. ↗
- ·The fix requires upgrading to Microsoft Defender for IoT version 10.5.2 or above; patching is not automatic. ↗
CVSS provenance
nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.010.0CRITICALAV:N/AC:L/Au:N/C:C/I:C/A:C
vendor_msrc10.0CRITICAL
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-gjpx-9j96-m8gx: Microsoft Defender for IoT Remote Code Execution Vulnerability This CVE ID is unique from CVE-2021-41365, CVE-2021-42311, CVE-2021-42313, CVE-2021-423
ghsa_unreviewed·2021-12-16·CVSS 8.8
CVE-2021-42310 [HIGH] CWE-94 GHSA-gjpx-9j96-m8gx: Microsoft Defender for IoT Remote Code Execution Vulnerability This CVE ID is unique from CVE-2021-41365, CVE-2021-42311, CVE-2021-42313, CVE-2021-423
Microsoft Defender for IoT Remote Code Execution Vulnerability This CVE ID is unique from CVE-2021-41365, CVE-2021-42311, CVE-2021-42313, CVE-2021-42314, CVE-2021-42315, CVE-2021-43882, CVE-2021-43889.
GHSA
GHSA-p693-2vfq-fpvw: Microsoft Defender for IoT Remote Code Execution Vulnerability This CVE ID is unique from CVE-2021-41365, CVE-2021-42310, CVE-2021-42313, CVE-2021-423
ghsa_unreviewed·2021-12-16·CVSS 8.8
CVE-2021-42311 [HIGH] CWE-89 GHSA-p693-2vfq-fpvw: Microsoft Defender for IoT Remote Code Execution Vulnerability This CVE ID is unique from CVE-2021-41365, CVE-2021-42310, CVE-2021-42313, CVE-2021-423
Microsoft Defender for IoT Remote Code Execution Vulnerability This CVE ID is unique from CVE-2021-41365, CVE-2021-42310, CVE-2021-42313, CVE-2021-42314, CVE-2021-42315, CVE-2021-43882, CVE-2021-43889.
GHSA
GHSA-5x43-cm8r-v5wr: Microsoft Defender for IoT Remote Code Execution Vulnerability This CVE ID is unique from CVE-2021-42310, CVE-2021-42311, CVE-2021-42313, CVE-2021-423
ghsa_unreviewed·2021-12-16·CVSS 8.1
CVE-2021-41365 [HIGH] CWE-89 GHSA-5x43-cm8r-v5wr: Microsoft Defender for IoT Remote Code Execution Vulnerability This CVE ID is unique from CVE-2021-42310, CVE-2021-42311, CVE-2021-42313, CVE-2021-423
Microsoft Defender for IoT Remote Code Execution Vulnerability This CVE ID is unique from CVE-2021-42310, CVE-2021-42311, CVE-2021-42313, CVE-2021-42314, CVE-2021-42315, CVE-2021-43882, CVE-2021-43889.
GHSA
GHSA-rwv9-gxrh-r43w: Microsoft Defender for IoT Remote Code Execution Vulnerability This CVE ID is unique from CVE-2021-41365, CVE-2021-42310, CVE-2021-42311, CVE-2021-423
ghsa_unreviewed·2021-12-16·CVSS 8.8
CVE-2021-42313 [HIGH] CWE-89 GHSA-rwv9-gxrh-r43w: Microsoft Defender for IoT Remote Code Execution Vulnerability This CVE ID is unique from CVE-2021-41365, CVE-2021-42310, CVE-2021-42311, CVE-2021-423
Microsoft Defender for IoT Remote Code Execution Vulnerability This CVE ID is unique from CVE-2021-41365, CVE-2021-42310, CVE-2021-42311, CVE-2021-42314, CVE-2021-42315, CVE-2021-43882, CVE-2021-43889.
GHSA
GHSA-2p7j-4wf3-79hx: Microsoft Defender for IoT Remote Code Execution Vulnerability This CVE ID is unique from CVE-2021-41365, CVE-2021-42310, CVE-2021-42311, CVE-2021-423
ghsa_unreviewed·2021-12-16·CVSS 8.8
CVE-2021-42314 [HIGH] CWE-94 GHSA-2p7j-4wf3-79hx: Microsoft Defender for IoT Remote Code Execution Vulnerability This CVE ID is unique from CVE-2021-41365, CVE-2021-42310, CVE-2021-42311, CVE-2021-423
Microsoft Defender for IoT Remote Code Execution Vulnerability This CVE ID is unique from CVE-2021-41365, CVE-2021-42310, CVE-2021-42311, CVE-2021-42313, CVE-2021-42315, CVE-2021-43882, CVE-2021-43889.
GHSA
GHSA-vf2w-cq9r-cwvw: Microsoft Defender for IoT Remote Code Execution Vulnerability This CVE ID is unique from CVE-2021-41365, CVE-2021-42310, CVE-2021-42311, CVE-2021-423
ghsa_unreviewed·2021-12-16·CVSS 8.8
CVE-2021-43882 [HIGH] CWE-295 GHSA-vf2w-cq9r-cwvw: Microsoft Defender for IoT Remote Code Execution Vulnerability This CVE ID is unique from CVE-2021-41365, CVE-2021-42310, CVE-2021-42311, CVE-2021-423
Microsoft Defender for IoT Remote Code Execution Vulnerability This CVE ID is unique from CVE-2021-41365, CVE-2021-42310, CVE-2021-42311, CVE-2021-42313, CVE-2021-42314, CVE-2021-42315, CVE-2021-43889.
GHSA
GHSA-cgfp-rmx2-46w3: Microsoft Defender for IoT Remote Code Execution Vulnerability This CVE ID is unique from CVE-2021-41365, CVE-2021-42310, CVE-2021-42311, CVE-2021-423
ghsa_unreviewed·2021-12-16·CVSS 8.8
CVE-2021-42315 [HIGH] CWE-94 GHSA-cgfp-rmx2-46w3: Microsoft Defender for IoT Remote Code Execution Vulnerability This CVE ID is unique from CVE-2021-41365, CVE-2021-42310, CVE-2021-42311, CVE-2021-423
Microsoft Defender for IoT Remote Code Execution Vulnerability This CVE ID is unique from CVE-2021-41365, CVE-2021-42310, CVE-2021-42311, CVE-2021-42313, CVE-2021-42314, CVE-2021-43882, CVE-2021-43889.
GHSA
GHSA-rpx5-2jw7-fmx4: Microsoft Defender for IoT Remote Code Execution Vulnerability This CVE ID is unique from CVE-2021-41365, CVE-2021-42310, CVE-2021-42311, CVE-2021-423
ghsa_unreviewed·2021-12-16·CVSS 8.8
CVE-2021-43889 [HIGH] CWE-94 GHSA-rpx5-2jw7-fmx4: Microsoft Defender for IoT Remote Code Execution Vulnerability This CVE ID is unique from CVE-2021-41365, CVE-2021-42310, CVE-2021-42311, CVE-2021-423
Microsoft Defender for IoT Remote Code Execution Vulnerability This CVE ID is unique from CVE-2021-41365, CVE-2021-42310, CVE-2021-42311, CVE-2021-42313, CVE-2021-42314, CVE-2021-42315, CVE-2021-43882.
Microsoft
Microsoft Defender for IoT Remote Code Execution Vulnerability
vendor_msrc·2021-12-14·CVSS 10.0
CVE-2021-42313 [CRITICAL] Microsoft Defender for IoT Remote Code Execution Vulnerability
Microsoft Defender for IoT Remote Code Execution Vulnerability
FAQ: What version of Microsoft Defender for IoT has the update that protects from this vulnerability?
Version 10.5.2 and above.
What is the action required to take the update?
You need to update to the latest Microsoft Defender for IoT software version. See the Update the software version section of Manage the on-premises management console.
What is Microsoft Defender for IoT?
Microsoft Defender for IoT is a unified security solution for identifying IoT/OT devices, vulnerabilities, and threats. It enables you to secure your entire IoT/OT environment, whether you need to protect existing IoT/OT devices or build security into new IoT innovations. See Microsoft Defender for IoT for more information.
FAQ: How could an attacker ex
No detection rules found.
No public exploits indexed.
Sentinelone
Pwning Microsoft Azure Defender for IoT | Multiple Flaws Allow Remote Code Execution for All
blogs_sentinelone·2022-03-28·CVSS 9.8
[CRITICAL] Pwning Microsoft Azure Defender for IoT | Multiple Flaws Allow Remote Code Execution for All
## Pwning Microsoft Azure Defender for IoT | Multiple Flaws Allow Remote Code Execution for All
By Kasif Dekel and Ronen Shustin (independent researcher)
## Executive Summary
SentinelLabs has discovered a number of critical severity flaws in Microsoft Azure’s Defender for IoT affecting cloud and on-premise customers.
Unauthenticated attackers can remotely compromise devices protected by Microsoft Azure Defender for IoT by abusing vulnerabilities in Azure’s Password Recovery mechanism.
SentinelLabs’ findings were proactively reported to Microsoft in June 2021 and the vulnerabilities are tracked as CVE-2021-42310, CVE-2021-42312, CVE-2021-37222, CVE-2021-42313 and CVE-2021-42311 marked as critical, some with CVSS score 9.8.
Microsoft has released security updates to address these criti
Sentinelone
Pwning Microsoft Azure Defender for IoT | Multiple Flaws Allow Remote Code Execution for All
blogs_sentinelone·2022-03-28·CVSS 9.8
[CRITICAL] Pwning Microsoft Azure Defender for IoT | Multiple Flaws Allow Remote Code Execution for All
By Kasif Dekel and Ronen Shustin (independent researcher)
## Executive Summary
- SentinelLabs has discovered a number of critical severity flaws in Microsoft Azure’s Defender for IoT affecting cloud and on-premise customers.
- Unauthenticated attackers can remotely compromise devices protected by Microsoft Azure Defender for IoT by abusing vulnerabilities in Azure’s Password Recovery mechanism.
- SentinelLabs’ findings were proactively reported to Microsoft in June 2021 and the vulnerabilities are tracked as CVE-2021-42310, CVE-2021-42312, CVE-2021-37222, CVE-2021-42313 and CVE-2021-42311 marked as critical, some with CVSS score 9.8.
- Microsoft has released security updates to address these critical vulnerabilities. Users are encouraged to take action immediately.
- At this time, Sentin
2021-12-15
Published