Skip to content
Account takeover Disclosed report Beginner

After removing app from facebook app session not expiring.

After logging in to Gratipay via Facebook OAuth and removing the Gratipay app from Facebook settings, the Gratipay session remains active.

lilly Follow

Originally disclosed on HackerOne

  • Disclosed after 16 months

When a user login with facebook 0Auth and then he removes the app from facebook app setting the session is not expiring. Poc:-

Step1: Go to gratipay login page. Step2: Click on login with facebook 0 auth and login with facebook. Step3: Go to facebook then app setting. Step4: Now remove the gratipay app from here and go back to gratipay site. Step5: You will see that you are still logged in.

Hence session is not expiring so it is vulnerable.

Thanks Sushil Saini (Cyber Security Researcher)

The original report as published on HackerOne, by lilly. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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

Root cause

Likely the application does not check whether the Facebook app authorisation is still valid on each request, so it keeps the local session alive after the user revokes access on Facebook.

Impact

A user who revokes the app on Facebook remains logged in on Gratipay.

What the attacker needed

A Facebook account; a Gratipay account linked to Facebook

How it was found

  1. Go to the Gratipay login page.
  2. Click login with Facebook OAuth and log in with Facebook.
  3. Go to Facebook app settings.
  4. Remove the Gratipay app from Facebook.
  5. Return to the Gratipay site and observe that you are still logged in.

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.

When you log in to a website using Facebook, you give it permission to access your Facebook account. If you later remove that website from your Facebook settings, you might expect to be logged out of the website too. This report says the website keeps you logged in anyway.

What is Account takeover?

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.

More from Gratipay

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Account takeover

The lesson behind this report.

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.