Hunting on Microsoft SharePoint: The art of manipulation.
The SharePoint API endpoints allowed unauthenticated or low-privilege access to user lists and SOAP services, exposing personal data and session cookies. An attacker could retrieve PII for thousands of users and decrypted cookies, including those of triagers and researchers.
Published on machiavellli.medium.com
Better reading experience > machiavelli.me
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 write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely missing or misconfigured access controls on SharePoint API endpoints, allowing unauthenticated or low-privilege users to query sensitive lists and SOAP services.
Impact
An attacker could access personal information of thousands of users and decrypted session cookies, potentially leading to account compromise, though some endpoints remained forbidden.
What the attacker needed
None for some endpoints; a low-privilege account for others
The fix
The vulnerabilities were fixed by the organization, as all reports were resolved.
How it was found
- Browse the site and proxy traffic to find the SharePoint API endpoint for list items.
- Replace the list name in the URL with 'Users' to access user data.
- Manipulate the p_ID parameter and use $select to retrieve all users' PII.
- Access the spdisco.aspx endpoint to discover exposed SOAP services.
- Create a low-privilege account and use its cookie to access SiteData.asmx and call GetListItems.
- Send a request to dws.asmx with an empty document element to retrieve decrypted cookies.
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 write-up has not been written yet. The Original tab links to the source.
SharePoint is a Microsoft tool for storing documents and team data. The website's API let anyone ask for lists of users without proper checks, so private details like phone numbers and even login cookies could be read. This is like leaving a filing cabinet unlocked in a public lobby.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.