Visual Studio Code Live Share Information Disclosure Vulnerability (CVE-2020-1343)
The Visual Studio Code Live Share extension exposed tokens in plain text when communicating with a proxy. An attacker who could capture traffic between the client and proxy could obtain these tokens, though the specific proxy settings make exploitation very difficult.
Originally disclosed on Microsoft
Description
An information disclosure vulnerability exists in Visual Studio Code Live Share Extension when it exposes tokens in plain text. To exploit the vulnerability, an attacker would need to perform a successful capture of the tokens from client to proxy, where specific proxy settings are being used, making this very difficult to exploit. The update address the vulnerability by modifying the way Visual Studio Code Live Share communicates with clients to proxies.
Visual Studio
Visual Studio
Microsoft
Microsoft
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 extension sent authentication tokens in plain text over the connection to the proxy instead of using an encrypted channel.
Impact
An attacker who successfully captured the tokens could potentially impersonate the user, but the report notes this is very difficult to exploit and depends on specific proxy settings.
What the attacker needed
Specific proxy settings; ability to capture client-to-proxy traffic
The fix
The vulnerability was fixed by modifying how Live Share communicates with clients to proxies.
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.
Tokens are like temporary passwords that prove your identity. This bug meant that when the Live Share extension talked to a proxy server, it sent these tokens without encryption, so someone who could listen to that network traffic might steal them. However, the report says this is very hard to do because it only happens with certain proxy settings.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.