HexBrain

Lab45 · Report #868572

CSRF on https://apps.topcoder.com/wiki/users/editmyprofilepicture.action

Validstatus
mediumseverity
6upvotes
14 Dec 2020disclosed

How it was found

Summary:

Hi :) There is a CSRF on uploading user profile photo and saving it.

Steps To Reproduce:

There is no CSRF token or anything like that on https://apps.topcoder.com/wiki/users/editmyprofilepicture.action . I added the poc html files below. Attacker can upload a new profile photo and update victim's profil photo.

Note: This only works to signed-in users. Because unauthorized users cannot upload attachments. There is a mistake on https://apps.topcoder.com/wiki/login.action now. If you encounter an error, you can login on main site (https://accounts.topcoder.com/member) then try.

Impact

An attacker can force other users to change their profile pictures without their knowledge.

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original