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.
- 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)
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
- Go to the Gratipay login page.
- Click login with Facebook OAuth and log in with Facebook.
- Go to Facebook app settings.
- Remove the Gratipay app from Facebook.
- 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.