Live data from Hacker News

“Magic links” can end up in Bing search results, rendering them useless

medium.com

71–80 of 243 posts

Re: “Magic links” can end up in Bing search results, rendering them useless

#71

Earlier quoted context omitted.

Scanning something for malware and publishing it in search results seem like 2 completely different things to me...?

But there is nothing to indicate either in the post or in the referenced SO thread that the URLs are published to the search results. They are visited by bingbot, that much seems confirmed, but there’s no example where one of these results shows up in the public search results.

They were indexed in Bing results, I’ve shared the URL of that in this thread

Re: “Magic links” can end up in Bing search results, rendering them useless

#72

Earlier quoted context omitted.

Yeh I was a bit reluctant to post that as it doesn't look great for my app! But here's the results: https://www.bing.com/search?q=https%3A%2F%2Fshoprocket.io%2F...

Could it be that they were taken from the MS Edge history? I mean still amazingly bad but just throwing it out there. Could explain the gmail ones as well

Quite possibly…

Re: “Magic links” can end up in Bing search results, rendering them useless

#73

Even if Microsoft claim this is about security scanning, isn't it fairly trivial to configure your webserver to serve up different content depending on the User-Agent request header? BingBot scans the link, gets a dummy page with 'clean' content, Microsoft delivers the email message to the user, user clicks through the link with actual browser, gets phishing / malware content...

Yes, that is exactly what a motivated attacker would do to avoid their phishing site getting flagged as malicious. Here is a good article about how that is accomplished: https://rhinosecuritylabs.com/social-engineering/bypassing-e...

Re: “Magic links” can end up in Bing search results, rendering them useless

#74

Earlier quoted context omitted.

yeh... https://www.bing.com/search?q=https%3A%2F%2Fshoprocket.io%2F...

The URL in the search is this: https://shoprocket.io/email-confirmation/34b35b1 ... I don't see that in the robots.txt https://shoprocket.io/robots.txt User-agent: * Disallow: /cdn-cgi/l/email-protection Disallow: /login Disallow: /register Disallow: /404 Am I missing something?

You may be seeing a stale version, try this: https://shoprocket.io/robots.txt?bypass=1

(I made a lot of changes today when testing all, including "visit as Bingbot" from their webmaster tools with and without the URL blocked by robots.txt)

Re: “Magic links” can end up in Bing search results, rendering them useless

#75
post #63

Earlier quoted context omitted.

It was blocked by robots.txt but Bing chose to ignore it. I even tried "blocking" the URLs in Bing webmaster tools today and this was the response: "Block request denied We found that the URL submitted for block is important for Bing users and hence cannot be blocked through Bing Webmaster Tools. We recommend that the best way to block URLs in this scenario is to add NOINDEX meta-tag to the HTML header of the page."

That is baffling logic. Sure, they think they know best and want to ignore the wishes of the owner of the web site. Why then respect a NOINDEX meta-tag instead of robots.txt?

Exactly - seems the safest way is to explicitly block known bots by user agent from even reaching pages you don't want indexed.

Re: “Magic links” can end up in Bing search results, rendering them useless

#76
post #64
post #60

I mean you can say that Twitter and Slack for example do it too, any service that generates a preview of your links, they'll crawl the URL you provide whether it's secret (eg sent in a private message) or not. Very very very few will stop at the "og:image" tags and such because why would they discard data about you?

I have observed that twitter's bot hits links within seconds of being tweeted. The traffic comes from several locations, not all twitter ASNs. One interesting source is Apple. Their bot/scanner hits soon after.

Anyone paying for the firehose access can do this.

Re: “Magic links” can end up in Bing search results, rendering them useless

#77

Earlier quoted context omitted.

> It might lead to sensitive data leak as cloud storage links can also be crawled to Bing no what might link to sensitive data leak is fools who store sensitive data on unprotected links

Agree, in my experience storage buckets are always private by default, and you must take several specific steps to make them public, ignoring the very big warnings sprinkled in each confirmation page along the way. Are there any cloud vendors that don't follow this approach?

Almost all of them. A good example is Dropbox link you send to someone. I could generate this link to a private file in my Dropbox, email it you, and Bing (may) index it.

https://www.dropbox.com/s/vucien2ns8jktga/denim%20bodywarmer...

I doubt many people realise this when they email "private" links...

Re: “Magic links” can end up in Bing search results, rendering them useless

#78

Google reads your emails. Whenever I buy a flight, google puts the date on "my" calendar. Just lets not pretend Microfsoft is especially bad at this, ok?

But that is your calendar, not something that is normally speaking visible to the whole web.

It's not "your" calendar, it's Google's calendar.

Re: “Magic links” can end up in Bing search results, rendering them useless

#79
post #58

Earlier quoted context omitted.

Yes, but there is no indication they are publishing it in the search results. The original post is just complaining that the malware scanning is visiting the links. They come to the following conclusion > This effectively makes all one-time use links like login/pass-reset/etc useless. Which we all know is not true because sites like onetimesecret.com allow for entering a separate password to prevent this sort of thin…

They are publishing them - it has bitten us (e.g. expired one click links for customers ending up on Bing from their emails)

If you can say for certain that the links being published are coming from the malware scanning, and not being taken from users' browser sessions that are using Microsoft Edge you should elaborate on this.

Re: “Magic links” can end up in Bing search results, rendering them useless

#80

Microsoft does this because they're security scanning / checking all links in every Outlook email for known phishing and malware attacks. If Bing has not seen the web page before and it's not in the Bing dangerous web page index it first needs to check it to make a determination of if it's a phishing/malware page by scanning/indexing it before returning that outcome back to Outlook to flag the email as dangerous.

Wouldn't it be trivial to keep the list of malicious pages locally and not send any data?
Post reply on HN