(Pwn2Own) Microsoft Teams pluginHost Sandbox Escape Vulnerability
The pluginHost component in Microsoft Teams exposes a WebView that allows an attacker to invoke arbitrary RPC calls. An attacker who can execute low-privileged code can leverage this to escape the sandbox and execute arbitrary code in the context of the current process.
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to escape the sandbox on affected installations of Microsoft Teams. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability.
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 report has not been written yet. The Original tab links to the source.
How it worked
Impact
An attacker could escape the sandbox and execute arbitrary code in the context of the current process, but they must first obtain the ability to execute low-privileged code on the target system.
What the attacker needed
Ability to execute low-privileged code
The fix
The vulnerability was fixed by Microsoft on August 31, 2022.
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.
A sandbox is a security boundary that keeps a program's code from affecting the rest of the system. Here, a part of Microsoft Teams called pluginHost had a flaw that let someone who already had limited access make unrestricted remote procedure calls (RPC), which are requests to run functions on another part of the program. This allowed them to break out of the sandbox and run code with the same permissions as the Teams process.
What is Mobile?
Flaws specific to Android and iOS apps: exported components, deep links, WebViews and data left on the device.