Skip to content
RCE Advisory Advanced CVE-2023-33134

Microsoft SharePoint Server Remote Code Execution Vulnerability (CVE-2023-33134)

An authenticated SharePoint user with specific site permissions could tamper with data in a hybrid deployment, and that tampered data was synchronised to the on-premises server, where the attacker's code ran in the context of the SharePoint timer service. This allowed remote code execution on the on-premises server.

zcgonvh Follow

Originally disclosed on Microsoft

High 8.8 View original

FAQ

According to the CVSS metric, privileges required is low (PR:L). What does that mean for this vulnerability? Within a SharePoint site, the attacker must be authenticated, and they would need to have the “Use Remote Interfaces” and “Add and Customize Pages” permissions on a Policy Center site to be able to exploit this vulnerability.

FAQ

What is the attack vector for this vulnerability? In a network-based attack, the attacker must be authenticated to a SharePoint Online tenant associated with a hybrid deployment to tamper with data. This tampered data is synchronized down to the on-premises server and exploits the vulnerability. The attackers code will run in the context of the SharePoint timer service on the on-premises server.

Microsoft Office SharePoint

Microsoft Office SharePoint

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by zcgonvh. 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 hybrid synchronisation process trusted data coming from the cloud tenant and applied it on the on-premises server without sufficient validation, letting crafted data lead to code execution in the timer service.

Impact

An authenticated attacker with the right permissions could run code on the on-premises SharePoint server, but only in a hybrid deployment and only with the stated site permissions.

What the attacker needed

Authenticated SharePoint user; hybrid deployment; 'Use Remote Interfaces' permission; 'Add and Customize Pages' permission

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.

SharePoint is Microsoft's product for building internal websites and document stores. In a hybrid setup, some data lives in the cloud (SharePoint Online) and is copied down to a server the company runs itself. Here, someone who already had a login and certain editing rights could change data in the cloud copy, and when that change was copied down, it let their code run on the company's own server.

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 zcgonvh

View all

13 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.