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.
Originally disclosed on Microsoft
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
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.