Skype extension: All functionality broken? Still exploitable!
The Skype browser extension stored the logged-in user's Skype identifier in the website's session storage rather than the extension's own storage, and ran its content scripts on every site, so any website could read the identifier. A permissive host pattern also let a malicious page mimic Gmail and trigger the extension to create a Skype conversation and place the link in a readable field, though a shut-down backend server later stopped the link from being retrieved.
Published on palant.info
One of the most popular Chrome extensions is Skype, a browser extension designed as a helper for the Skype application. Back when I reported the issues discussed here it was listed in Chrome Web Store with more than 10 million users, at the time of writing more than 9 million users still remain.
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 extension wrote the user identifier to sessionStorage from a content script, where that storage belongs to the visited page, and matched sites with an overly permissive host pattern applied to the full URL.
Impact
Any website could learn the visitor's Skype identity, and a crafted page could create Skype conversations in the user's name and obtain the link for spam, although after a backend server was shut down the link could no longer be retrieved.
What the attacker needed
Extension installed; victim logged into a Microsoft account; victim visits any website; crafted page with expected elements
The fix
The extension was fixed by removing all the problematic code, dropping content scripts entirely and moving functionality into the pop-up.
How it was found
- Log into a Microsoft account while the extension is installed.
- Visit any website, since the extension runs its content scripts everywhere.
- Read the stored user identifier from the page's session storage.
- On a crafted page containing the expected elements, let the extension inject its button and click it programmatically.
- Read the created conversation link from the text field the extension fills.
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.
A browser extension can add small programs (content scripts) into the pages you visit. This one saved your Skype ID using the page's own storage area instead of its private one, so any site could simply read it. Separately, a loose matching rule let a fake page pretend to be Gmail and make the extension create a Skype chat link the page could read.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.