Skip to content
RCE Advisory Advanced CVE-2024-38028

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.

QingHe Xie Follow

Originally disclosed on Microsoft

High 7.2 View original

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

The original report as published on the Microsoft Security Response Center, by QingHe Xie and FangMing Gu. Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

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

  1. The victim runs a performance counter collection tool such as Performance Monitor.
  2. The victim configures the tool to collect performance counter data from an attacker-controlled machine.
  3. 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.

More by QingHe Xie

View all

1 more disclosed report, best first.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.