Invited user to a Author profile can remove the owner of that Author
An invited user who was given ownership of an author profile could then remove the original owner from that profile entirely. This let the invited user take sole control of the author and lock the real owner out.
- Fixed in 11 days
- Paid in 11 days
- Disclosed after 11 days
##SUMMURY:
A user invite another user to his author by giving ownership.
Later invited user can completely remove the real owner from that author .
##STEP TO REPRODUCE:
- Create two user ABC and XYZ.
- Create a author profile in user ABC and invite user XYZ to that author using public_id. Give the ownership to user XYZ.Now user XYZ has full access to that author profile.
- Now goto user XYZ account and remove user ABC from that author.
And see ABC is owner of that author is completely removed from that author and ABC user cant able to access that Author.
- finally user XYZ is the main owner of that author
##FIX:
check before invited user try to remove real owner from his Author profile.
if so , access denied that invited user cant delete real owner from his author profile.
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 removal action did not check whether the acting user was the original owner, so any user with ownership access could remove others including the creator.
Impact
The invited user could take full control of the author profile and lock the original owner out.
What the attacker needed
Two user accounts; ability to invite a user to an author; invited user given ownership
The fix
The removal action should verify the acting user is the real owner and deny the request otherwise.
How it was found
- Create two user accounts.
- Create an author profile under the first user and invite the second user using the public_id, granting ownership.
- Log in as the invited user and remove the original owner from that author.
- Observe the original owner is fully removed and can no longer access the author.
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.
A site let one person invite another to share control of a profile. The invited person was then able to delete the original owner from that profile, so the original owner lost access to their own data. The site should have blocked the invited user from removing the real owner.
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.