Slack · Report #14092
Remote file Inclusion - RFI in upload
Informativestatus
7upvotes
8 Jul 2014disclosed
How it was found
Hello,
Everysite has a RFI vulnerability. Everysite i.e *.slack.com is having this vulnerability.
Proof of concept / Steps to Reproduce :
- Sign in to your account on slack eg. I signed in https://pran3hiva.slack.com
- Now, go to 'Change photo'. i.e https://pran3hiva.slack.com/account/photo
- Now, select file to upload.
- Click on upload image.
- You will be redirected to 'Crop Photo'.
- Note the url eg. https://pran3hiva.slack.com/account/photo?url=https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fslack-files2%2Favatar-temp%2F2014-05-30%2F2364428212.jpg
Note the 'url' parameter.
- Change it to desired.
- I changed it to --> https://pran3hiva.slack.com/account/photo?url=https://www.google.co.in/images/srpr/logo11w.png
Now, image from site will be loaded.
Hence, RFI :D I have attached 2 screen-shots. POC. Hope, you patch this one. :)
If you have any questions you may ask me.
Thank You, Pranav