WakaTime · Report #675398
[invalid][false-positive] csrftoken on profile page
N/Astatus
3upvotes
20 Aug 2019disclosed
Summary
When testing csrf tokens on WakaTime's website, there are 2 ways we pass the csrf token in requests:
- form post-data
csrftoken, for HTML form submits - the
X-CSRFTokenheader, for AJAX requests
The csrftoken cookie is only used to pass the token to JavaScript, it's not used for validating the request.
Closing this as not applicable since csrf tokens are working correctly.
How it was found
step of reproduce-
- Go to https://wakatime.com and create account.
- login account after that go public profile.
- after that change the full name and intercept brup suite and delete csrftoken.
- After forward then you see name was changed.
Impact
Violation of Secure Design Principles