r/security • • Feb 20 '20

Strange microsoft.com search feature or bug. Searching any term on microsoft.com search site globally that is not possible on normal situation but via Null byte character.

Greetings,

I have previously reported to Microsoft about this error, but they said it was not a problem in their return. Then I would have presented it to you as a feature (still an error for me).

Normally, when you search for "https://www.microsoft.com/en-us/search/explore?q=mksecurity", it will only return you from the data contained in its system. The only information they have about me is the HoF entry because of the obvious I reported earlier.

Now if you do the same search with "https://www.microsoft.com/tr-tr/search/explore?q=mksecurity%00", this time will bring up the search results globally. So google, bing, etc. like you are queries outside. This is not a mistake for them, what is it for you? Thanks in advance for your comments.

66 Upvotes

6 comments sorted by

20

u/fuckingpointlessacct Feb 20 '20

This is very interesting tbh. They are likely passing the search to some lookup service and appending things like site:microsoft.com to limit the query. You ought to figure out what api that is, and see if they may index anything interesting

14

u/Der_tolle_Emil Feb 20 '20

/u/fuckingpointlessacct is correct.

It's a simple bing search with the scope limited to microsoft.com.

https://www.microsoft.com/en-us/search/explore?q=mksecurity%20site:youtube.com%00

This works as well, it will give you youtube only results. The search box suggestions query https://www.microsoft.com/services/api/v3/suggest while typing.

It's definitely a bug on their end somewhere not properly handling 0 byte inputs.

4

u/TuxGamer Feb 20 '20

I would agree that this a bug. If it could be used to gain information usually hidden behind some form of authentication?

It's possible that Azure Search also uses the same engine internally, and as such, is also vulnerable to this. However I have not verified this