Skip to content
Info disclosure Disclosed report Beginner

Securing sensitive pages from SearchBots

Sensitive authenticated pages on the program's site lacked noindex and nofollow tags, so search engines could index and cache them. An attacker could then find other users' email addresses and authentication tokens through search results and cached copies.

siddiki Follow

Originally disclosed on HackerOne

  • Triaged in 2 days
  • Fixed in 7 days
  • Paid in 7 days
  • Disclosed after 37 days

I reported the issue earlier (Report #3662) .But instead of asking more information,you just closed the bug.Well,you said you never seen google indexing authentication tokens. okCupid,is a client of hackerone.com.Let's see whats google doing with their tokens:

Search with the following dork: site:www.okcupid.com/settings?userid_token= And see the results cache.Can you see,both users email address and tokens are being indexed by search engines? This is what going to happen with hackerone too.As those pages does not have noindex,nofollow tags.

Ok,lets show you another example.A cached page of Facebook Support Centre.

http://webcache.googleusercontent.com/search?q=cache:ikhWiVtVF50J:www.facebook.com/support/case%3Feid%3DAREP3f8aORMfZcbVfPE9BKUgbk0dNVASVI2RkPSYyIyyxwpoS5a8pQwEuEGItQSTgfg_knkrsm6UMRAiXk2_JrLw-XhkBlDoNipvIpL8QSONNA+&cd=1&hl=en&ct=clnk&gl=in

Go to the address.Notice whats written on the search box,just right side of the facebook logo.

"Hi Samrita, What do you need help with?" Now,can you answer me,how the hell is google indexing such a page,which requires users authentication.Yah! You are right.Google is indexing browsers cache for search results.After I reported the bug to facebook,they added noindex and nofollow tags to all sensitive pages. And yet you are telling its not a bug ? Well may luck help you and your secret reports.

Thanks

The original report as published on HackerOne, by siddiki. 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 sensitive pages were served without noindex and nofollow directives, allowing search engine crawlers to index and cache them.

Impact

Email addresses and authentication tokens could be exposed to anyone using a search engine.

What the attacker needed

Sensitive pages reachable by crawlers; search engine has indexed the pages

The fix

Sensitive pages should be served with noindex and nofollow tags, as the other companies mentioned did.

How it was found

  1. Search the site with a query targeting the settings page and its token parameter.
  2. Open the cached results returned by the search engine.
  3. Observe that user email addresses and tokens appear in the indexed and cached pages.

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.

Search engines keep copies of web pages, and anyone can find those copies through search. If a page that only a logged-in user should see is not marked as private, the search engine may store it and show it to strangers. Here the pages held email addresses and login tokens, which are secret strings that prove 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 siddiki

View all

18 more disclosed reports, best first.

More from HackerOne

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.