HexBrain

Phabricator · Report #2857

CSRF token valid even after the session logout of a particular user

Informativestatus
2upvotes
26 Jun 2014disclosed

How it was found

Hi,

To reproduce the issue:

  1. Login to your https://secure.phabricator.com account and copy your Anti CSRF token.

  2. Now logout and again login after sometime.

  3. Open up your burp suite to modify the request and now submit any form with your old CSRF token.

The request will be completed.

So let's suppose i am somehow able to get CSRF token of a particular user then i can use the same token again and again to perform the attack.

The token should be thrown from the db after the session logout.

Please have a look.

Best regards, Anand

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original