Improper session handling on web browsers
The reporter claims that after logging out of one account on a mobile browser, web push notifications for that account still display direct messages, and clicking the notification sends cookies from the other logged-in account. This could leak private messages and mix session data between accounts.
- Triaged in 3 days
- Fixed in 18 days
- Paid in 6 days
- Disclosed after 52 days
NOTE! Thanks for submitting a report! Please replace all the [square] sections below with the pertinent details. Remember, the more detail you provide, the easier it is for us to triage and respond quickly, so be sure to take your time filling out the report!
Summary: Sessions are not properly logged out/ Information Leak
Description: I have two accounts that I control from my mobile Browser , As a concept of Session handling by browsers at a time one can only use one account with proper mapping of session and generated cookies . But when someone send DM or other data for my logged out account i still get web Notifications , where i can read the DM of that logged out account . All the Testing is done on Chrome Browser of my phone , I have video for the same
Steps To Reproduce:
(Add details for how we can reproduce the issue)
- login with multiple accounts in Twitter one by one , saving your credentials for future
- Enable web push notifications for twitter 3 now as a normal scenario login to one account and ask your friend to send you DM on account other account which is not logged in 4 . you can see the DM in the android notifications for websites that saying notification for mobile.twitter.com and DM displayed
Impact : session mishandling leading to my private data leak , on clicking the notification my cookies of one account is being taken with the request for other account
Moreover i am working on it , hope will help you to get your service better . please revert
Supporting Material/References:
- List any additional material (e.g. screenshots, logs, etc.)
Impact
1 .Session mishandling leading to my private data leak , 2. on clicking the notification my cookies of one account is being taken with the request for other account
3 . information getting delivered even after the session isnt their can lead to privacy breach
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 web push notification subscription was not revoked on logout, and the notification click handler used the currently active session cookie instead of the one tied to the notification.
Impact
Private direct messages could be read after logout, and clicking a notification may send the wrong account's cookies, potentially mixing sessions; the report does not show a full account takeover.
What the attacker needed
Mobile Chrome browser; two accounts controlled by the reporter; web push notifications enabled; friend sends a DM to the logged-out account
The fix
The site should revoke push subscriptions on logout and tie notification clicks to the correct account.
How it was found
- Log in to multiple accounts one after another, saving credentials.
- Enable web push notifications for the site.
- Log in to one account and have a friend send a direct message to the other, logged-out account.
- Observe the direct message in the browser notifications for the logged-out account.
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 into a website, the site gives your browser a small file called a cookie so it knows who you are. The reporter says that after logging out of one account, notifications for that account still arrived and showed private messages, and tapping them used the wrong account's cookie. This is a problem because private messages should not appear after you log out.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.