Vulnerability Analysis

CVE-2024-38077 : A Zero-Click RCE Threat In Windows Server 2025

Earlier this year, we conducted an in-depth analysis of the Windows Remote Desktop Services. Multiple vulnerabilities were discovered, and all related vulnerabilities (56 cases) have been reported to Microsoft.

Among them were several Preauth RCE vulnerabilities (Unauthenticated non-sandboxed 0-click RCE) in the Remote Desktop Licensing Service.

These vulnerabilities can be used to build multiple Preauth RCE exploitations targeting the Windows Remote Desktop Licensing Service.

Yes, they are 0-click preauth RCE you didn’t see in Windows for years. We call them the Mad, the Bad, and the Dead Licenses vulnerabilities. This article is the first in a series about these vulnerabilities. 

In this article, we introduce the vulnerability CVE-2024-38077 (we name it MadLicense【狂躁许可】), and demonstrate its exploitation on Windows Server 2025 which enabled full and new mitigations.

We choose Windows Server 2025 because Microsoft claim Windows Server 2025 delivers next-generation security improvements. And this bug works on Windows Server 2000 to 2025 (all the Windows Server). 

We will not give technical explanations in detail now, nor will give a full POC. But the pseudocode here is good enough to learn this vulnerability. 

To prevent abusing, the python code here is actually a pseudocode. You can’t even trigger the bug with this pseudocode, let alone exploit it.

It will be enough to prove the severity and also give enough time for defender to act on this before someone really figure out how to exploit it. 

We inform Microsft that this bug is exploitable a month ago, but it still marked as exploitation less likely by Microsoft. So we made a responsible disclosures here. 

Our aim is to raise awareness of the vulnerability’s risks and to encourage users to update their systems promptly to address these issues. Defender can also use information in this blog to detect and block the possible attack.

Introduction

In July 2024, the following 7 RDP-related vulnerabilities that we reported have been fixed by Microsoft:

    CVE-2024-38077: Windows Remote Desktop Licensing Service Remote Code Execution Vulnerability

    CVE-2024-38076: Windows Remote Desktop Licensing Service Remote Code Execution Vulnerability

    CVE-2024-38074: Windows Remote Desktop Licensing Service Remote Code Execution Vulnerability

    CVE-2024-38073: Windows Remote Desktop Licensing Service Denial of Service Vulnerability

    CVE-2024-38072: Windows Remote Desktop Licensing Service Denial of Service Vulnerability

    CVE-2024-38071: Windows Remote Desktop Licensing Service Denial of Service Vulnerability

    CVE-2024-38015: Windows Remote Desktop Gateway (RD Gateway) Denial of Service Vulnerability

Among them, 3 vulnerabilities with a CVSS score of 9.8 for RCE in the Windows Remote Desktop Licensing Service are worth your attention. In Microsoft’s advisory, they considered these vulnerabilities unlikely to be exploited.

However, this is not the case. In fact, we informed Microsoft of the exploitability of these vulnerabilities before the patch was released.

In this blog, we will demonstrate how a preauth RCE exploitation of CVE-2024-38077 on Windows Server 2025 can bypass all modern mitigations to achieve 0-click RCE on the latest Windows Server.

Yes, you heard me right, just by leveraging one vulnerability, you can achieve this without any user interaction.

For more information click here.

Tamil S

Tamil has a great interest in the fields of Cyber Security, OSINT, and CTF projects. Currently, he is deeply involved in researching and publishing various security tools with Kali Linux Tutorials, which is quite fascinating.

Recent Posts

Shadow-rs : Harnessing Rust’s Power For Kernel-Level Security Research

shadow-rs is a Windows kernel rootkit written in Rust, demonstrating advanced techniques for kernel manipulation…

1 week ago

ExecutePeFromPngViaLNK – Advanced Execution Of Embedded PE Files via PNG And LNK

Extract and execute a PE embedded within a PNG file using an LNK file. The…

2 weeks ago

Red Team Certification – A Comprehensive Guide To Advancing In Cybersecurity Operations

Embark on the journey of becoming a certified Red Team professional with our definitive guide.…

3 weeks ago

CVE-2024-5836 / CVE-2024-6778 : Chromium Sandbox Escape via Extension Exploits

This repository contains proof of concept exploits for CVE-2024-5836 and CVE-2024-6778, which are vulnerabilities within…

3 weeks ago

Rust BOFs – Unlocking New Potentials In Cobalt Strike

This took me like 4 days (+2 days for an update), but I got it…

3 weeks ago

MaLDAPtive – Pioneering LDAP SearchFilter Parsing And Security Framework

MaLDAPtive is a framework for LDAP SearchFilter parsing, obfuscation, deobfuscation and detection. Its foundation is…

3 weeks ago