The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2024-49120

CVE-2024-49120: Windows Server 2012 RCE Vulnerability

CVE-2024-49120 is a remote code execution vulnerability in Windows Remote Desktop Services on Windows Server 2012. Attackers can exploit this flaw to execute arbitrary code remotely. This article covers technical details, affected versions, impact assessment, and mitigation strategies.

Published: January 28, 2026

CVE-2024-49120 Overview

CVE-2024-49120 is a Remote Code Execution (RCE) vulnerability affecting Windows Remote Desktop Services (RDS) across multiple versions of Microsoft Windows Server. This vulnerability allows unauthenticated attackers to execute arbitrary code on vulnerable systems through specially crafted network requests targeting the Remote Desktop Gateway service.

Critical Impact

Successful exploitation of this vulnerability could allow an attacker to execute arbitrary code on the target server with system-level privileges, potentially leading to complete system compromise, data theft, or lateral movement within enterprise networks.

Affected Products

  • Microsoft Windows Server 2012 and R2
  • Microsoft Windows Server 2016
  • Microsoft Windows Server 2019
  • Microsoft Windows Server 2022
  • Microsoft Windows Server 2022 23H2
  • Microsoft Windows Server 2025

Discovery Timeline

  • December 12, 2024 - CVE-2024-49120 published to NVD
  • January 14, 2025 - Last updated in NVD database

Technical Details for CVE-2024-49120

Vulnerability Analysis

This vulnerability exists within Windows Remote Desktop Services, a critical component used by enterprises to provide remote access to Windows Server resources. The flaw stems from improper handling of insecure data structures and race conditions within the RDS protocol processing logic.

The vulnerability is classified under CWE-453 (Insecure Default Variable Initialization) and CWE-362 (Concurrent Execution using Shared Resource with Improper Synchronization). These weaknesses indicate that the vulnerability involves improper initialization of variables combined with race condition issues that can be exploited during concurrent execution scenarios.

Exploitation requires no privileges or user interaction, making it particularly dangerous in internet-facing RDS deployments. However, the attack complexity is high, as successful exploitation depends on winning a race condition, which may require multiple attempts.

Root Cause

The root cause of CVE-2024-49120 lies in the combination of two fundamental security weaknesses within the Remote Desktop Services component:

  1. Insecure Default Variable Initialization (CWE-453): Critical variables within the RDS protocol handler are not properly initialized before use, potentially allowing attackers to influence their values through carefully crafted inputs.

  2. Race Condition (CWE-362): The vulnerability involves improper synchronization when accessing shared resources during concurrent execution, creating a timing window that can be exploited to achieve code execution.

Attack Vector

The attack is conducted over the network without requiring authentication or user interaction. An attacker would send specially crafted packets to a Remote Desktop Gateway service, targeting the vulnerable code path. The attacker must successfully exploit the race condition by sending requests at precise timing intervals.

The vulnerability mechanism involves manipulating the timing of concurrent requests to the RDS service. When specific conditions are met during the race window, the attacker can corrupt memory state and redirect execution flow to attacker-controlled code. Technical details regarding the specific exploitation technique are documented in the Microsoft Security Advisory.

Detection Methods for CVE-2024-49120

Indicators of Compromise

  • Unusual connection patterns to Remote Desktop Gateway services on ports 443 or 3391
  • Abnormal process spawning from svchost.exe hosting RDS services
  • Unexpected system crashes or service restarts of Terminal Services components
  • Memory access violations logged in Windows Event Viewer related to RDS processes

Detection Strategies

  • Monitor for rapid, repeated connection attempts to RDS endpoints that may indicate race condition exploitation attempts
  • Deploy network intrusion detection signatures for anomalous RDP/RDS protocol traffic patterns
  • Enable enhanced logging for Remote Desktop Gateway services and correlate with SIEM solutions
  • Implement behavioral analysis to detect post-exploitation activities such as lateral movement

Monitoring Recommendations

  • Configure Windows Event Log collection for Terminal Services and RDS Gateway events
  • Monitor for unexpected child processes spawned by RDS-related services
  • Implement network flow analysis for connections to RDS endpoints from untrusted sources
  • Enable SentinelOne endpoint protection with real-time behavioral analysis for RDS service activity

How to Mitigate CVE-2024-49120

Immediate Actions Required

  • Apply the Microsoft security update released in the December 2024 Patch Tuesday cycle immediately
  • Restrict Remote Desktop Gateway access to trusted IP ranges using Windows Firewall or network ACLs
  • Implement multi-factor authentication for all Remote Desktop Gateway connections
  • Consider disabling RDS Gateway services on non-essential servers until patches are applied

Patch Information

Microsoft has released security updates addressing CVE-2024-49120 as part of the December 2024 security update cycle. Administrators should consult the Microsoft Security Update Guide for specific KB articles and update packages applicable to their Windows Server versions.

Patches are available for all affected Windows Server versions, including Windows Server 2012, 2012 R2, 2016, 2019, 2022, 2022 23H2, and 2025. Organizations should prioritize patching internet-facing RDS Gateway servers.

Workarounds

  • Disable Remote Desktop Gateway services if not required for business operations
  • Place RDS Gateway servers behind a VPN or Zero Trust Network Access (ZTNA) solution
  • Implement network segmentation to isolate RDS infrastructure from critical assets
  • Use Azure AD Application Proxy or similar solutions as an alternative to direct RDS exposure
bash
# Disable Remote Desktop Gateway service (temporary workaround)
Stop-Service -Name TSGateway
Set-Service -Name TSGateway -StartupType Disabled

# Restrict RDS Gateway access via Windows Firewall (allow only specific IP range)
New-NetFirewallRule -DisplayName "Block RDS Gateway External" -Direction Inbound -LocalPort 443,3391 -Protocol TCP -Action Block
New-NetFirewallRule -DisplayName "Allow RDS Gateway Trusted" -Direction Inbound -LocalPort 443,3391 -Protocol TCP -RemoteAddress 10.0.0.0/8 -Action Allow

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechWindows

  • SeverityHIGH

  • CVSS Score8.1

  • EPSS Probability0.21%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-453

  • CWE-362
  • Vendor Resources
  • Microsoft CVE-2024-49120 Advisory
  • Related CVEs
  • CVE-2026-33826: Windows Active Directory RCE Vulnerability

  • CVE-2026-32183: Windows Snipping Tool RCE Vulnerability

  • CVE-2026-32149: Windows Hyper-V RCE Vulnerability

  • CVE-2026-31995: Openclaw Command Injection Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English