Reading Message from Microsoft’s Private Yammer Group
The application checked authorisation only by a client-side API response that could be changed from false to true, and the Yammer feed API did not verify permissions for subsequent calls. An attacker could then read private Yammer group messages, including other group IDs and sensitive business discussions.
I returned with another blog about a vulnerability I found in Microsoft’s business application. This time we will try to read some messages/posts from Microsoft’s private Yammer group.
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
Impact
An unauthorised user could read private Yammer messages from Microsoft's internal groups, including discussions about customers, competitors, business strategies and Covid-19 vaccines.
What the attacker needed
A valid AAD test account; ability to intercept and modify API responses
The fix
The bug was fixed by Microsoft after the report.
How it was found
- Log in to the transform application with a test account.
- Intercept the userwhitelist API response and change it from false to true.
- Access the Yammer feed API for group 15003 and fetch more than the default five posts.
- Use discovered group IDs to fetch feeds from other private groups.
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.
The app asked a server 'is this user allowed?' and trusted the answer that came back to the browser. By changing that answer from 'no' to 'yes', the user could get into parts of the app meant only for authorised staff. The app then let them read private chat messages from Microsoft's internal Yammer groups.
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.