Skip to content
Info disclosure Disclosed report Beginner

Индексация почты/логинов пользователей

isaeva Follow

Originally disclosed on HackerOne

Bounty$140 View original
  • Triaged in 22 hours
  • Fixed in 9 months
  • Paid in 9 months
  • Disclosed after 10 months
Здравствуйте! Если проверить и ввести в гугл поиск site:badoo.com inurl:?email=  то мы получим много страниц, перейдя по ссылкам которы�
 нам будет виден полностью логин(почта) пользователя. Для примера получаем вот такую ссылку https://badoo.com/id/signin/?email=nocai%40yahoogroups.com&sold1=LT9EIDYZaQ-0kpW6rMJGwH_FXC35loVj
где логин является [email protected]  или https://badoo.com/ru/signin/?email=spip%40rezo.net&sold1=2lUdND_SQwvFeRGr97WfTkJyBIx1oqij здесь логин [email protected]
Ваша система говорить что такой логин существует, я думаю что эти данные индексировались по какой-то ошибке, которую вы должны устранить, так как нынешние те�
нологии помогают подобрать пароль к любому логину, и это может быть опасно для ваши�
 пользователей.

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

The original is short, so this covers everything it reports, then explains this kind of bug in general: how it works, how to test for it and how it is fixed. The general sections are about the bug class, not this target. Written with AI and checked against the original; the original is the record. 4 min read.

What the report shows

The report concerns Badoo sign-in pages and the way user email addresses ended up in search engine indexes. The researcher's starting point was a Google query that surfaces sign-in URLs carrying an email address as a query parameter:

Text
site:badoo.com inurl:?email=

Following the indexed results, the researcher says, shows the full login (email address) of a user. Two examples are given:

HTTP
https://badoo.com/id/signin/?email=nocai%40yahoogroups.com&sold1=LT9EIDYZaQ-0kpW6rMJGwH_FXC35loVj

Here the login is [redacted]. The second example:

HTTP
https://badoo.com/ru/signin/?email=spip%40rezo.net&sold1=[redacted]

Here the login is [redacted]. Both addresses are percent-encoded in the URL (%40 for @), and each URL also carries a sold1 parameter.

The researcher notes that the site confirms such a login exists, and argues that the data was indexed because of some error that should be fixed. The stated concern is that current technology makes it possible to guess a password for any login, so exposing the addresses is dangerous for users.

The report records a bounty of 140.00 USD and was disclosed on 24 June 2018. It does not describe a fix, a severity rating or a CVSS score.

Root cause

The report shows sign-in URLs carrying an email address in the query string that appeared in search results. The report does not identify the mechanism behind the indexing. The report does not identify the exact mechanism, such as a missing noindex directive, a missing robots.txt rule or a redirect that preserves the parameter.

Impact

The report frames the impact as privacy: a search engine query returns pages from which a user's full email address can be read. The researcher argues that current technology makes it possible to guess a password for any login. The report does not show any account takeover or password guessing; it only states that the exposure could be dangerous for users.

How this kind of bug works

Many applications put user-controlled values into URLs: a pre-filled login field, a redirect target, a search term, a locale switch. When the page reflects that value into the HTML, and the URL is reachable by crawlers, the value is copied into the search index. Two things combine to make this a leak rather than a curiosity:

  1. The parameter carries something that identifies a person, such as an email address or username.
  2. Nothing tells crawlers to stay away: no noindex meta tag or header, no Disallow rule, no authentication requirement, and no canonicalisation that strips the parameter.

Search engines also discover such URLs from links in emails, from referrer headers on outbound clicks, and from any page that links to the sign-in form with a pre-filled value.

How to test for it

A general method for this class:

  1. Identify pages that accept identity-bearing parameters: sign-in, registration, password reset, invitation, unsubscribe and profile pages are the usual candidates.
  2. Send a request with a unique marker value in the parameter, for example a distinctive address you control, and confirm the value is reflected in the response body.
  3. Check whether the response permits indexing: look for X-Robots-Tag headers, <meta name="robots"> tags, and whether the URL is disallowed in robots.txt. Absence of all three is a signal, not proof.
  4. Check whether the page is reachable without authentication and whether the parameter survives redirects.
  5. Use a site-restricted search engine query against the target to see whether such URLs are already indexed. A positive result is an indexed URL that displays a real-looking address in the snippet or on the page.

Common false positives: the reflected value is the tester's own marker and nothing else; the page is behind a login and only appears indexed because of a stale cache; the parameter is ignored by the application and the address comes from somewhere else; the indexed address belongs to a role account or a public contact address rather than a private user.

How it is fixed

Standard fixes for identity data leaking into indexes:

  • Do not accept identity values in the query string for pages that render them; take the value from a form submission or a session instead.
  • Mark such pages noindex with a response header or meta tag, and disallow the parameterised paths in robots.txt.
  • Redirect parameterised URLs to the clean canonical URL so the value is dropped before rendering.
  • Request removal of already-indexed URLs from search engines and purge caches.
  • Where the parameter is only needed for analytics or pre-filling, keep it out of the HTML and out of any server-rendered output.

Hunting notes

This class tends to hide in authentication and account flows, marketing landing pages that pre-fill an address, and any endpoint that echoes a parameter into a form value or a greeting. Recon signals worth watching: parameters named after email, login, user or mail in URLs seen in crawl data, archived snapshots or referrer logs; sign-in pages that render a value from the query string; and responses lacking any robots directives.

Keep the claim to what you can demonstrate: exposure of a valid identifier, not a takeover.

The original is short, so this covers everything it reports, then explains this kind of bug in general: how it works, how to test for it and how it is fixed. The general sections are about the bug class, not this target. Written with AI and checked against the original; the original is the record. 6 min read.

What happened, in plain words

Badoo is a website with a sign-in page where you type your email address and password. Like most sites, Badoo has a sign-in page where you type your email address and password. The researcher found that some sign-in pages had ended up in Google's search results, and that opening them showed the full login (email address).

The starting point was a Google search. Google lets you narrow a search with special words: site: limits results to one website, and inurl: limits results to pages whose address (URL) contains a certain piece of text. The researcher used this query:

Text
site:badoo.com inurl:?email=

In plain terms: show me pages on badoo.com whose address contains ?email=. The ? marks the start of the query string, the part of a URL that carries extra values, called parameters, to the page. A parameter is a named value in the address, written as name=value. Here the parameter is called email, and whatever follows the = is its value.

Google returned many such pages. Opening them showed the full login, meaning the email address, of a user. The researcher gave two examples:

HTTP
https://badoo.com/id/signin/?email=nocai%40yahoogroups.com&sold1=LT9EIDYZaQ-0kpW6rMJGwH_FXC35loVj

Here the login is [redacted]. The second example:

HTTP
https://badoo.com/ru/signin/?email=spip%40rezo.net&sold1=[redacted]

Here the login is [redacted].

A few things in those addresses are worth unpacking, because they explain how the leak works:

  1. %40 is how an @ sign is written inside a URL. Some characters cannot appear literally in an address, so they are replaced by a percent sign and a code. %40 is simply @. This is called percent-encoding, and it is normal and harmless on its own.
  2. Each URL also carries a second parameter, sold1, with a long random-looking value. The report does not explain what it is for.
  3. The path /id/signin/ and /ru/signin/ is the sign-in page.

The researcher says the site confirms that such a login exists, and argues that the data was indexed, meaning copied into Google's search results, because of some mistake that should be fixed. The concern given is that today's technology makes it possible to guess a password for any login, so exposing the addresses is dangerous for users.

The report records a bounty of 140.00 USD and was disclosed on 24 June 2018. It does not describe a fix, a severity rating or a CVSS score.

In general, how this kind of bug works

Many websites put values you supply into the address of a page. Think of a pre-filled sign-in form: you click a link, and your email address is already sitting in the box. To do that, the site takes the value from the URL and writes it into the page. That is convenient, and it is also how this kind of leak starts.

A search engine works by following links and reading pages, then storing what it finds in an index, much like the index at the back of a book. If a page shows a value from its URL, and nothing stops the search engine from reading that page, the value gets copied into the index. Two conditions together turn this from a curiosity into a privacy leak:

  1. The parameter carries something that identifies a person, such as an email address or a username.
  2. Nothing tells search engines to stay away: no instruction in the page or in the server's response that says do not index this, no rule in the site's robots.txt file (a public file where a site lists areas crawlers should skip), no requirement to log in, and no redirect that strips the parameter.

Search engines can find such URLs in several ways: from links in emails, from the address of the previous page passed along when you click a link, and from any page that links to the sign-in form with a value already filled in.

In general, how to test for it

A method that works for this class of bug:

  1. Find pages that accept parameters identifying a person. Sign-in, registration, password reset, invitation, unsubscribe and profile pages are the usual candidates.
  2. Send a request with a unique marker in the parameter, for example a distinctive address you control, and confirm the value appears in the page that comes back.
  3. Check whether the response allows indexing: look for an X-Robots-Tag response header (an instruction sent with the page), a <meta name="robots"> tag in the page itself, and whether the address is disallowed in robots.txt. The absence of all three is a signal, not proof.
  4. Check whether the page can be reached without logging in, and whether the parameter survives redirects.
  5. Run a site-restricted search engine query against the target to see whether such URLs are already indexed. A positive result is an indexed URL that shows a real-looking address in the search snippet or on the page.

Common false positives, meaning results that look like a leak but are not:

  • The value shown is only your own test marker and nothing else.
  • The page sits behind a login and only appears indexed because of an old cached copy.
  • The application ignores the parameter, and the address comes from somewhere else.

In general, how it is fixed

Standard fixes for identity data leaking into search indexes:

  • Do not accept identity values in the query string on pages that display them; take the value from a form submission or from the user's session instead.
  • Mark such pages as not for indexing, using a response header or a meta tag, and disallow the parameterised paths in robots.txt.
  • Redirect parameterised URLs to the clean version of the address, so the value is dropped before the page is built.
  • Ask search engines to remove URLs that are already indexed, and clear caches.
  • Where the parameter is only needed for analytics or pre-filling, keep it out of the page's HTML and out of anything the server renders.

In general, where to look

This class of bug tends to hide in authentication and account flows, in marketing landing pages that pre-fill an address, and in any place that echoes a parameter into a form field or a greeting. Useful signals during recon: parameters named after email, login, user or mail in URLs found in crawl data, archived snapshots or referrer logs; sign-in pages that display a value taken from the query string; and responses with no robots instructions at all.

Keep the claim to what you can demonstrate: exposure of a valid identifier, not an account takeover.

Glossary

  • URL: the address of a page on the web, such as https://badoo.com/ru/signin/.
  • Query string: the part of a URL after the ?, carrying named values to the page.
  • Parameter: one named value in a query string, written as name=value, for example email=....
  • Percent-encoding: writing characters that cannot appear literally in a URL as % plus a code, such as %40 for @.
  • Indexing: a search engine reading a page and storing it in its searchable index.
  • Crawler: a program that follows links and reads pages for a search engine.
  • robots.txt: a public file where a site tells crawlers which areas to skip.
  • noindex: an instruction, in a page tag or a response header, telling search engines not to list a page.
  • X-Robots-Tag: a response header that carries indexing instructions for crawlers.
  • Response header: extra information a server sends alongside a page, separate from the page content.
  • Redirect: a server answer that sends the browser to a different URL.
  • Canonical URL: the single, clean version of a page's address that a site wants search engines to use.
  • Cache: a stored copy of a page kept to serve it faster, which can outlive changes to the original.
  • Referrer: the address of the page you came from, which a browser can pass along when you click a link.
  • False positive: a finding that looks like a problem but is not one.
  • Credential attack: an attempt to log in as someone by guessing or cracking their password.
  • Account takeover: gaining control of someone else's account.
  • CVSS: a standard scoring system for rating the severity of a security issue.
  • Bounty: a payment a company makes to someone who reports a valid security issue.

More by isaeva

View all

3 more disclosed reports, 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.