XS-Leak: Deanonymize Microsoft Skype Users by any 3rd-party websites
Skype image attachment URLs could be loaded cross-origin by any website, and the onload/onerror events revealed whether the visitor was the specific Skype user who owned that image. An attacker could therefore deanonymise and track a Skype user across third-party sites without cookies.
Published on infosecwriteups.com
XS-Leaks — These are class of vulnerabilities derived from side channel attack. Although browsers have security features like SOP, which prevents access to data of websites from different origin.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the Skype image attachment endpoint returned the image to the owner regardless of the requesting origin, and the image URL was unguessable but shareable, so cross-origin load success acted as an oracle.
Impact
The attacker could deanonymise a Skype user and track their activity on third-party sites even when the victim is not logged in and accepts no cookies; Microsoft reportedly declined to fix it.
What the attacker needed
Attacker can message the victim on Skype; victim visits attacker's page; victim owns the sent image
The fix
The image endpoint should require proper authorisation (for example a custom auth header) rather than relying on SameSite cookies, and Microsoft reportedly said it could not fix the issue.
How it was found
- Attacker sends an image attachment to the target Skype user and records its URL.
- Attacker builds a page that loads that image URL in an img tag with onload and onerror handlers.
- When the victim visits the page, onload fires; for anyone else, onerror fires.
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 write-up has not been written yet. The Original tab links to the source.
When a web page loads an image from another site, the browser fires an 'onload' event if the image loads and an 'onerror' event if it fails. Skype image links only load for the person who owns them, so a page can tell whether the visitor is that person. This lets a site recognise a specific Skype user without any login or cookie.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.