(Pwn2Own) Microsoft SharePoint ToolPane Authentication Bypass Vulnerability
The ToolPane endpoint in Microsoft SharePoint does not properly restrict access to a protected API when handling the Referer HTTP header. A remote attacker can bypass authentication and access the protected API without credentials.
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to bypass authentication on affected installations of Microsoft SharePoint. Authentication is not required to exploit this vulnerability.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
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 ToolPane endpoint relied on the client-supplied Referer header for an access-control decision instead of enforcing authentication and authorisation on the protected API.
Impact
An unauthenticated remote attacker could bypass authentication and reach a protected API on the SharePoint installation.
What the attacker needed
Network access to the SharePoint instance; no credentials required
The fix
Microsoft issued an update to correct the vulnerability.
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 a Microsoft product for sharing documents and team sites. Normally you need to log in to use it, but a part of the software called ToolPane trusted a value sent by the browser (the Referer header) to decide if you were allowed in. An attacker could send a request with a crafted Referer value and get in without logging in.
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.