Skip to content
Access control Advisory Advanced CVE-2023-21549

Windows SMB Witness Service Elevation of Privilege Vulnerability (CVE-2023-21549)

The Windows SMB Witness service did not properly restrict which accounts could invoke certain RPC functions. An attacker could run a crafted script that makes an RPC call to a host and execute functions normally reserved for privileged accounts, gaining elevated privileges on the server.

Stiv Kupchik Follow

Originally disclosed on Microsoft

High 8.8 View original

FAQ

How could an attacker exploit the vulnerability? To exploit this vulnerability, an attacker could execute a specially crafted malicious script which executes an RPC call to an RPC host. This could result in elevation of privilege on the server.

FAQ

What privileges could be gained by an attacker who successfully exploited the vulnerability? An attacker who successfully exploited this vulnerability could execute RPC functions that are restricted to privileged accounts only.

Windows SMB

Windows SMB

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Stiv Kupchik and Ophir Harpaz with Akamai. 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 SMB Witness service failed to enforce proper authorisation checks on RPC functions, allowing non-privileged callers to invoke privileged operations.

Impact

An attacker could execute RPC functions restricted to privileged accounts, resulting in elevation of privilege on the server.

What the attacker needed

Ability to send RPC calls to a target host

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.

Remote Procedure Call (RPC) is a way for one program to ask another program on a different machine to run a function. Here, the service that handles these requests did not check properly whether the caller was allowed to run certain powerful functions. So someone with a normal account could ask the server to run admin-only functions and take more control than they should have.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.