IDOR Vulnerability in Group Profile Picture Feature($$)
A group profile picture URL used a sequential numeric ID, and changing that ID let the tester view another group's private picture without authorisation. An attacker could enumerate IDs to collect private images from many groups.
medium.com
Published on medium.com
While testing Target.com, I discovered an Insecure Direct Object Reference (IDOR) vulnerability that allowed unauthorized access to private group profile pictures. This flaw exposed sensitive user-generated content and could have led to privacy violations.
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 looked up the picture by the numeric ID from the URL without checking that the requesting user belonged to that group.
Impact
Private group pictures could be viewed and collected by anyone who guessed or enumerated IDs, causing a privacy breach.
What the attacker needed
A free account; ability to create a private group; victim group has a profile picture
The fix
The site added access controls so that only authorised users can view a picture by its ID; the report says the fix was deployed.
How it was found
- Create a private group on the site.
- Upload a profile picture to the group.
- Open the picture so its URL with an ID parameter is shown.
- Change the ID value in the URL.
- Visit the changed URL and see another group's picture.
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 web address often ends with a number that tells the site which item to show. If the site does not check that you are allowed to see that item, you can simply change the number to peek at someone else's. Here, changing the number in a group picture link showed pictures from other private groups.
What is IDOR?
One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.