Deleting other people's comments on ModeratorMessages
A comment-deletion endpoint on community moderator messages lacked a permissions check, so anyone who knew the comment's unique identifier and the receiver's SteamID could delete another person's comment. The endpoint was corrected to verify the correct permissions.
- Triaged in 5 days
- Fixed in 4 months
- Paid in 4 months
- Disclosed after 8 months
Summary by the program
Due to a missing permissions check, anyone could delete a comment on a community moderator message knowing the unique comment GID and the SteamID of the message receiver. The endpoint has been corrected to verify the correct permissions.
Summary by the researcher
You were able to delete others people's comments on moderator messages.
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
The delete-comment endpoint did not verify that the requester had permission to delete the comment before acting on it.
Impact
An attacker who knew the comment identifier and the receiver's SteamID could delete other people's comments on moderator messages.
What the attacker needed
Knowledge of the comment GID; knowledge of the receiver's SteamID
The fix
The endpoint was fixed to verify the correct permissions before allowing a comment to be deleted.
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 moderator message is a private note a platform sends to a user, and each message can have comments attached. The server should check that you are allowed to delete a comment before doing it, but here it skipped that check, so anyone with the right identifiers could remove comments that were not theirs.
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.