How I Got 3 Bugs No Automation, Just Logic
A document-sharing app returned team member names and emails when a chat message request was switched from POST to GET, exposing data to users without permission. Separately, an icon/proxy URL parameter and an uploaded SVG image could be abused to redirect victims to an attacker-chosen site.
infosecwriteups.com
Published on infosecwriteups.com
My target is a program for documents. You can write anything in the documents and you can invite many people with different roles:
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 the server authorised the chat action only for the POST method and treated the GET variant as a different, unprotected endpoint, while the redirect issues came from insufficient validation of a URL parameter and of uploaded SVG content.
Impact
A user outside the team could obtain the names and email addresses of all team members, and in the other cases a victim clicking a crafted link or image could be redirected to an attacker-controlled site.
What the attacker needed
Public share link on a document; attacker can send chat requests; victim clicks a crafted link or image
How it was found
- Open a document's public link as a user outside the team and confirm no data is shown.
- Open the team chat, send a message and intercept the request.
- Change the request method from POST to GET and resend it.
- Observe the response listing team members' names and emails.
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.
Some apps decide what you may see based on how a request is sent, not just who you are. Here, sending the same chat request a different way (GET instead of POST) made the server hand back a list of team members and their emails. In the other two bugs, a link or an uploaded image could send a visitor to a different website chosen by the attacker.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.