Slack · Report #2628
CSRF vulnerability on https://sehacure.slack.com/account/settings
Validstatus
5upvotes
26 Jul 2014disclosed
How it was found
Hi,
The CSRF token is not getting expired for a user.This can led to username change and many other account change information as well.
To reproduce the issue:
- Login into your Slack.com account
- Go to this URl https://sehacure.slack.com/account/settings
- Inspect element Copy your anti CSRF token i.e. crumb.
- Now logout from your account.
- Login again and visit the same page again i.e. https://sehacure.slack.com/account/settings
- Inspect element and change the value of crumb to token you copied.
- Change your username now it will be changed.
CSRF tokens should expire as soon as the user logs out and we have to assign a new one when a user signs in :-)
Best regards, Anand