When your privacy disclosure is a “feature” not a “bug” – Badoo & HotorNot failure!
A service worker script on Badoo and HotorNot dynamically included the logged-in user's ID, and any external website could fetch and read it. This allowed an attacker to unmask a logged-in user's identity on those sites.
Published on seekurity.com
Your privacy on the internet is the biggest concern ever and when it comes to “Dating websites” and “Social Networks” it means more and more!
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the service worker script was served without proper cross-origin restrictions and dynamically embedded the user's ID, allowing any external site to read it.
Impact
Any website could embed the proof-of-concept code and read a logged-in user's Badoo or HotorNot user ID, enabling privacy disclosure, targeted ads, or phishing; the report does not mention any defence that blocked the attack.
What the attacker needed
Victim is logged in to Badoo or HotorNot; victim visits a malicious website
How it was found
- Log in to Badoo.com or HotorNot.com.
- Request the service worker script URL with the query parameter ws=1.
- Observe that the response contains your user ID.
- From an external domain, include that script URL and read its content to obtain the user ID.
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 write-up has not been written yet. The Original tab links to the source.
When you log in to a website, your browser stores a cookie that proves who you are. Normally, other websites cannot read data from a site you are logged into. Here, a script file on the dating sites included your user ID, and because of how it was served, any other website could fetch that file and read your ID, revealing which account you are logged into.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.