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
    • 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-2025-24045

CVE-2025-24045: Windows Server 2012 RCE Vulnerability

CVE-2025-24045 is a remote code execution vulnerability in Microsoft Windows Server 2012 Remote Desktop Services caused by improper memory locking. This article covers the technical details, affected systems, and mitigation.

Updated: January 22, 2026

CVE-2025-24045 Overview

CVE-2025-24045 is a critical remote code execution vulnerability affecting Windows Remote Desktop Services (RDS). The vulnerability stems from sensitive data storage in improperly locked memory, which allows an unauthorized attacker to execute arbitrary code over a network without requiring user interaction or prior authentication.

Remote Desktop Services is a core Windows Server component that enables remote administration and virtual desktop infrastructure deployments. Given the widespread use of RDS in enterprise environments and its network-accessible nature, this vulnerability presents a significant risk to organizations running affected Windows Server versions.

Critical Impact

Unauthorized remote attackers can achieve code execution on Windows Server systems running Remote Desktop Services, potentially leading to complete system compromise, lateral movement, and data exfiltration across enterprise networks.

Affected Products

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

Discovery Timeline

  • 2025-03-11 - CVE-2025-24045 published to NVD
  • 2025-07-03 - Last updated in NVD database

Technical Details for CVE-2025-24045

Vulnerability Analysis

This vulnerability is classified under CWE-591 (Sensitive Data Storage in Improperly Locked Memory), indicating a fundamental flaw in how Windows Remote Desktop Services manages memory containing sensitive information. When memory that holds sensitive data is not properly locked, it may be accessible or manipulable by unauthorized processes or through network-based attacks.

The attack complexity is high, meaning successful exploitation requires specific conditions to be met. However, no privileges or user interaction are required, making this an attractive target for sophisticated threat actors. Successful exploitation grants the attacker the same privileges as the RDS service, which typically runs with elevated system privileges on Windows Server.

The impact spans all three security dimensions: confidentiality, integrity, and availability can all be highly compromised. An attacker could read sensitive data from server memory, modify system configurations or inject malicious code, and potentially crash or disable critical services.

Root Cause

The root cause lies in improper memory locking mechanisms within the Windows Remote Desktop Services implementation. When sensitive data is stored in memory that is not adequately protected through proper locking primitives, race conditions or memory access vulnerabilities can occur. This allows network-based attackers to potentially access or manipulate memory regions that should be protected, ultimately enabling code execution.

The vulnerability affects the core memory management routines used by RDS when handling incoming remote desktop connection requests and session data. Proper memory locking is essential for preventing unauthorized access to sensitive data structures, and the failure to implement this correctly creates an exploitable condition.

Attack Vector

The vulnerability is exploitable over the network without requiring authentication credentials or user interaction. An attacker targeting this vulnerability would craft specially designed network traffic directed at the Remote Desktop Services port (typically TCP 3389). The attack exploits the improper memory locking to gain unauthorized access to sensitive memory regions.

Due to the high attack complexity, exploitation likely requires precise timing or specific conditions related to the target's memory state. However, the lack of required privileges and user interaction means that any network-accessible RDS endpoint could potentially be targeted by a skilled attacker.

Detection Methods for CVE-2025-24045

Indicators of Compromise

  • Unusual or malformed RDP connection attempts on TCP port 3389
  • Unexpected memory access patterns or crashes in termservice.exe or related RDS processes
  • Anomalous network traffic patterns targeting Remote Desktop Services
  • Unexplained system instability or service restarts on RDS servers

Detection Strategies

  • Monitor network traffic for unusual RDP protocol anomalies or malformed connection requests
  • Implement endpoint detection and response (EDR) solutions to detect abnormal memory access in RDS-related processes
  • Deploy intrusion detection/prevention systems (IDS/IPS) with signatures for RDP exploitation attempts
  • Enable Windows Event Log monitoring for RDS service crashes or suspicious authentication events

Monitoring Recommendations

  • Enable detailed logging for Remote Desktop Services including connection attempts and disconnections
  • Configure SIEM alerts for repeated connection failures or unusual connection patterns to RDS endpoints
  • Monitor process behavior for svchost.exe instances hosting Remote Desktop Services for memory anomalies
  • Implement network segmentation monitoring to detect potential lateral movement following RDS compromise

How to Mitigate CVE-2025-24045

Immediate Actions Required

  • Apply Microsoft's security update for CVE-2025-24045 immediately on all affected Windows Server systems
  • Restrict RDP access to only necessary IP ranges using Windows Firewall or network access control lists
  • Consider disabling Remote Desktop Services on systems where it is not required
  • Implement Network Level Authentication (NLA) as an additional layer of protection
  • Deploy Remote Desktop Gateway to add authentication and encryption layers before RDS access

Patch Information

Microsoft has released security updates addressing this vulnerability. Organizations should consult the Microsoft Security Response Center advisory for specific patch details and download links for each affected Windows Server version. Apply patches through Windows Update, WSUS, or manual installation based on your organization's patch management processes.

Workarounds

  • Disable Remote Desktop Services if not required for business operations until patches can be applied
  • Implement strict network-level access controls limiting RDP access to trusted networks only
  • Use a VPN or Remote Desktop Gateway to ensure RDS is not directly exposed to the internet
  • Enable Windows Firewall rules to restrict incoming connections on TCP port 3389 to authorized IP addresses only
  • Consider implementing just-in-time (JIT) access for RDP connections to reduce the attack surface
bash
# Windows Firewall configuration to restrict RDP access
netsh advfirewall firewall add rule name="RDP Restricted Access" dir=in action=allow protocol=tcp localport=3389 remoteip=10.0.0.0/8,192.168.0.0/16

# Disable RDP if not needed
Set-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Terminal Server' -Name "fDenyTSConnections" -Value 1

# Verify NLA is enabled
Get-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp' -Name "UserAuthentication"

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.33%

  • 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-591
  • Vendor Resources
  • Microsoft Security Update CVE-2025-24045
  • Related CVEs
  • CVE-2026-31995: Openclaw Command Injection Vulnerability

  • CVE-2026-25190: Windows GDI RCE Vulnerability

  • CVE-2026-25166: Windows System Image Manager RCE Flaw

  • CVE-2026-25173: Windows RRAS RCE Vulnerability
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