Paragon Initiative Enterprises · Report #273805
Improper access control lead To delete anyone comment
Validstatus
mediumseverity
10upvotes
16 Oct 2017disclosed
How it was found
SUMMURY
Here server dont check the owner of any comment. During Comment deletion it does not check whether the comment is created by user or not. so i can delete a comment of others user.
STEP TO REPRODUCE
-
select any commnet which is already aproved.
3.Unaprove it by clicking "Hide Comment".
- Now delete that commnet and see comment is deleted which is not created by himself.
FIX
implement proper access control mechanism so that when user try to delete a comment first check the comment is belongs to that user or not.