Update any profile
Profile fields belonging to one user could be changed by a different authenticated user who knew the victim's randomly generated user identifier. An attacker who obtained that identifier could therefore alter another person's profile details.
- Triaged in 1 hour
- Fixed in 2 hours
- Paid in 1 hour
- Disclosed after 2 hours
Summary by the program
A security researcher discovered that profile fields (first name, last name, title, company, bio) could be modified by another authenticated user, if the other user had access to the victim's randomly generated user id. Thanks to @samczsun for an excellent and detailed report!
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the profile update endpoint took the target user identifier from the request and authorised the action only on the caller being logged in, without checking that the caller owned that profile.
Impact
An authenticated attacker who knew a victim's user id could change that victim's profile fields.
What the attacker needed
An authenticated account; know the victim's user id
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 report has not been written yet. The Original tab links to the source.
Each account has profile details like name and bio. Only you should be able to edit your own profile. Here, another logged-in user could change your profile fields if they had your randomly generated user id.
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.