Chaturbate · Report #401483
[chaturbate.com] - CSRF Vulnerability on image upload
Validstatus
mediumseverity
$300bounty
17upvotes
19 Sept 2018disclosed
How it was found
Summary##
Hi guys,
One of the features available to a Chaturbate user is the ability to upload images into photo sets. The upload functionality does not use any CSRF tokens, allowing attackers to perform CSRF attacks and upload images to a user's profile without the user's consent.
Steps To Reproduce:
- Login to Chaturbate.
- Browse to your profile page and upload an image.
- Note the
setID of the newly created set (this is available by visiting set in the profile page. It'll be in the URL :https://chaturbate.com/photo_videos/photoset/detail/[username]/[set_id]/). - Download the poc.html file attached to this report.
- Edit
poc.htmlby replacing the number4771110by thesetID found at step #3. - Open poc.html and click on
Submit request. - Visit your Chaturbate image set.
You'll notice that the photo set now inludes an additional image (a blank/white image).
Impact
In order for this attack to work, an attacker would need to know the correct photo set ID. Since set IDs are public information, this isn't an issue.
I've set the impact here to medium since this affects the integrity of user accounts.