HOW I GOT MY FOUR DIGIT BOUNTY $$$$
An API endpoint for creating polls did not properly check whether the user had permission to post in a given discussion, so changing the discussion identifier allowed a poll to be injected into any public discussion. The author also found a separate user-data leak by incrementing a user ID in an API path.
medium.com
Published on medium.com
In bugcrowd in March 16 2025 i get invite of a private programme which was 7 years old programme .target.com .First i start subdomain enumeration and start urls collecting and after that i start filtering these assets. I found a url GET /api/v2/users/16839 .When i start increment the number all the users data are…
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 authenticated user could inject a poll into any public discussion, which could be used to post unwanted content or manipulate community polls; the text does not show any further impact.
What the attacker needed
A free account on the community platform; knowledge of a public discussion identifier
How it was found
- Enumerate subdomains and collect URLs, then filter the assets.
- Create an account and log in on the community subdomain.
- Collect endpoints from sources such as the Wayback Machine and fuzz an API base path with a wordlist.
- Send a poll-creation request to the repeater and try it against a different discussion.
- Change the discussion name parameter to a public discussion and observe a successful creation.
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.
A website's API is the set of URLs its pages use to fetch and change data. Here, the poll-creation request trusted a discussion ID sent by the client without checking that the logged-in user was allowed to post there, so a user could add a poll to someone else's public discussion.
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.