Microsoft Windows Performance Data Helper Library Remote Code Execution Vulnerability (CVE-2024-38028)
A vulnerability in the Windows Performance Data Helper library allows an attacker with local admin rights on a remote machine to execute code in the performance counter data collector process of a victim machine that collects performance data from the attacker's machine. The attacker could run malicious code remotely in that process.
Originally disclosed on Microsoft
FAQ
How could an attacker exploit this vulnerability? To exploit this vulnerability, a victim machine must be running a performance counter collection tool such as Performance Monitor to collect performance counter data from an attacker machine. An attacker with local admin authority on the attacker machine could run malicious code remotely in the victim machine's performance counter data collector process.
Windows Performance Monitor
Windows Performance Monitor
Microsoft
Microsoft
Customer Action Required
Yes
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the Performance Data Helper library fails to properly validate or sanitise data received from a remote performance counter source, allowing crafted data to be executed as code.
Impact
An attacker could run malicious code remotely in the victim's performance counter data collector process, but only if the victim is actively collecting performance data from the attacker's machine.
What the attacker needed
Victim runs Performance Monitor or similar; victim collects data from attacker's machine; attacker has local admin on their machine
How it was found
- The victim runs a performance counter collection tool such as Performance Monitor.
- The victim configures the tool to collect performance counter data from an attacker-controlled machine.
- The attacker, who has local admin authority on that machine, runs malicious code that is executed remotely in the victim's data collector process.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
Performance Monitor is a Windows tool that collects performance data from other computers. If a victim uses it to collect data from a machine controlled by an attacker, the attacker can make that tool run harmful code on the victim's computer. The attacker needs to be an administrator on their own machine to do this.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.