Microsoft SharePoint Site Import Directory Traversal Remote Code Execution Vulnerability
The ImportWeb function in Microsoft SharePoint fails to properly validate a user-supplied path before using it in file operations. An authenticated attacker could exploit this to execute arbitrary code in the context of the service account.
This vulnerability allows remote attackers to execute arbitrary code on affected installations of Microsoft SharePoint. Authentication is 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 ImportWeb function fails to validate or sanitise a user-supplied path before using it in file operations, allowing path traversal.
Impact
An authenticated attacker could execute arbitrary code on the SharePoint server with the privileges of the service account.
What the attacker needed
Authentication required; SharePoint installation
The fix
Microsoft issued an update to correct this 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.
This is a directory traversal bug in SharePoint, a Microsoft web application. The software takes a file path from the user but does not check it properly, so an attacker who is already logged in can make the server run their own code with the service account's permissions.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.