Skip to main content
CVE Vulnerability Database
Vulnerability Database/CVE-2024-21438

CVE-2024-21438: Windows 10 1507 AllJoyn API DoS Vulnerability

CVE-2024-21438 is a denial of service vulnerability in the Microsoft AllJoyn API affecting Windows 10 1507 that can disrupt system availability. This article covers technical details, affected versions, security impact, and mitigation.

Published:

CVE-2024-21438 Overview

CVE-2024-21438 is a denial of service vulnerability in the Microsoft AllJoyn API, a component used for device-to-device communication across the Internet of Things (IoT). The flaw is tracked under [CWE-369] (Divide By Zero) and affects a broad range of Windows client and server releases. A remote, unauthenticated attacker can send crafted traffic over the network to trigger the condition and disrupt the availability of the affected service. Microsoft published the advisory on March 12, 2024, and addressed the issue through the monthly security update cycle.

Critical Impact

Successful exploitation allows a remote, unauthenticated attacker to cause a denial of service on Windows systems where the AllJoyn Router Service processes attacker-supplied input.

Affected Products

  • Microsoft Windows 10 (1507, 1607, 1809, 21H2, 22H2)
  • Microsoft Windows 11 (21H2, 22H2, 23H2)
  • Microsoft Windows Server 2008, 2012, 2016, 2019, 2022, and 2022 23H2

Discovery Timeline

  • 2024-03-12 - CVE-2024-21438 published to NVD
  • 2024-12-05 - Last updated in NVD database

Technical Details for CVE-2024-21438

Vulnerability Analysis

The vulnerability resides in the Microsoft AllJoyn API, which supports proximity-based peer-to-peer messaging between devices and applications. The Windows implementation runs as the AllJoyn Router Service (AJRouter) and accepts messages over the network. A malformed message causes the service to perform a division by zero, classified under [CWE-369]. The arithmetic fault terminates the affected code path and disrupts AllJoyn-dependent communication.

The issue is purely an availability concern. The CVSS vector indicates no impact to confidentiality or integrity, only to the availability of the targeted service. Exploitation does not require authentication or user interaction, which broadens the exposure on hosts where the service is reachable.

Root Cause

The root cause is missing validation of a numeric value used as a divisor inside the AllJoyn message processing logic. When an attacker supplies input that drives that operand to zero, the resulting exception is unhandled and aborts the operation.

Attack Vector

An attacker reaches the vulnerable code path by sending crafted AllJoyn protocol traffic to a Windows host running the AllJoyn Router Service. Because AllJoyn is designed for local network discovery, exploitation is most practical from an adjacent network position where the attacker can deliver messages to the service endpoint. No credentials and no user interaction are required.

No public proof-of-concept exploit is available, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog. The EPSS data reports a non-trivial likelihood of exploitation attempts in the wild relative to the broader CVE population.

Detection Methods for CVE-2024-21438

Indicators of Compromise

  • Unexpected termination or repeated crash events for the AllJoyn Router Service (AJRouter) recorded in the Windows Application or System event logs.
  • Inbound AllJoyn protocol traffic from untrusted hosts on local segments where AllJoyn is not in active use.
  • Windows Error Reporting entries referencing alljoyn modules following network activity from an unfamiliar source.

Detection Strategies

  • Monitor service control events (Event IDs 7031, 7034) for the AllJoyn Router Service to identify abnormal restarts indicative of exploitation attempts.
  • Use network detection rules to flag AllJoyn discovery and session traffic originating from devices outside the expected IoT footprint.
  • Correlate host crash telemetry with concurrent network connections to AllJoyn listening ports to surface remote triggering patterns.

Monitoring Recommendations

  • Inventory Windows endpoints and servers where the AllJoyn Router Service is running and prioritize them for patch validation.
  • Forward Windows service and application crash events to a centralized SIEM or data lake for trend analysis across the fleet.
  • Track the patch status of all affected Windows 10, Windows 11, and Windows Server builds against the Microsoft security update baseline.

How to Mitigate CVE-2024-21438

Immediate Actions Required

  • Apply the March 2024 Microsoft security update that addresses CVE-2024-21438 to all affected Windows 10, Windows 11, and Windows Server systems.
  • Identify hosts where the AllJoyn Router Service is enabled but unused and disable the service to reduce attack surface.
  • Restrict inbound network access to AllJoyn-related ports from untrusted segments using host and perimeter firewalls.

Patch Information

Microsoft released fixes through the standard Patch Tuesday process. Refer to the Microsoft CVE-2024-21438 Advisory for the specific KB articles applicable to each Windows version and servicing branch. Validate deployment using update management tooling and confirm reboot completion on servers.

Workarounds

  • Disable the AllJoyn Router Service (AJRouter) on systems that do not require device-to-device messaging.
  • Block AllJoyn discovery and session traffic at network boundaries where the protocol is not authorized for business use.
  • Isolate IoT and proximity-messaging workloads on segmented VLANs to limit reachable attack surface from general user networks.
bash
# Disable the AllJoyn Router Service on Windows where it is not required
sc.exe config AJRouter start= disabled
sc.exe stop AJRouter

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.