Skip to content
Prototype pollution Advisory Advanced

Microsoft Teams Pluginhost Prototype Pollution Privilege Escalation Vulnerability

The Microsoft Teams Pluginhost window lacked control over modifications to object prototypes, allowing an attacker who can already execute script in the application window to escalate privileges. This could be leveraged with other vulnerabilities to execute arbitrary code in the context of the current process.

JianTao Li Follow

Originally disclosed on Zero Day Initiative

High 7.5 View original

This vulnerability allows remote attackers to escalate privileges on affected installations of Microsoft Teams. An attacker must first obtain the ability to execute script within the application window in order to exploit this vulnerability.

Li Jiantao (@CurseRed), Ngo Wei Lin (@Creastery), Pan Zhenpeng (@Peterpan980927), Poh Jia Hao (@Chocologicall) of STAR Labs SG Pte. Ltd., on the Zero Day Initiative

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 escalate privileges and, in conjunction with other vulnerabilities, execute arbitrary code in the context of the current process.

What the attacker needed

Ability to execute script in the application window

The fix

Microsoft issued an update to correct this vulnerability.

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.

Object prototypes are like blueprints that JavaScript objects inherit from. If an attacker can change these blueprints, they can make the application behave in unexpected ways. Here, an attacker who already had a way to run some code inside Teams could use this flaw to gain more control and potentially run their own programs.

What is Prototype pollution?

Input changes JavaScript's shared object prototype, altering behaviour across the application, sometimes to XSS or code execution.

More by JianTao Li

View all

1 more disclosed report, best first.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Prototype pollution

The lesson behind this report.

Input changes JavaScript's shared object prototype, altering behaviour across the application, sometimes to XSS or code execution.