Skip to content
RCE Advisory Advanced CVE-2023-36401

Microsoft Remote Registry Service Remote Code Execution Vulnerability (CVE-2023-36401)

An integer overflow flaw existed in the Remote Registry service (regsvc), which could let a remote authenticated attacker run arbitrary code on the server. Exploitation required the attacker to be on the domain and a member of the performance log users group.

k0shl Follow

Originally disclosed on Microsoft

High 7.2 View original

FAQ

According to the CVSS metric, privileges required is high (PR:H). What does that mean for this vulnerability? Successful exploitation of this vulnerability requires the attacker must be an authenticated user on the network who is a member of the performance log users group. Although this group defaults to only Administrators, it is possible for an Administrator to add other standard users to this group.

FAQ

How could an attacker exploit this vulnerability? A remote, authenticated attacker who is on the domain and a member of the performance log users group could exploit an integer overflow vulnerability within regsvc to execute arbitrary code on the server.

Microsoft Remote Registry Service

Microsoft Remote Registry Service

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by k0shl with Kunlun Lab. 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 an integer overflow in the Remote Registry service (regsvc) when processing input, leading to memory corruption and code execution.

Impact

A remote authenticated attacker in the performance log users group could execute arbitrary code on the server, though the high privileges required limited who could attempt it.

What the attacker needed

Domain-joined network access; authenticated domain account; member of performance log users group

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.

The Remote Registry service lets administrators read and change settings on another computer over the network. A mistake in how it handled certain numbers (an integer overflow) could let someone with a valid account run their own code on the server. The attacker first needed a domain account and membership of a special group, so it was not open to just anyone.

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 k0shl

View all

98 more disclosed reports, 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.