Skip to content
Prototype pollution Advisory Advanced

Microsoft Teams Isolated Webview Prototype Pollution Privilege Escalation Vulnerability

The Microsoft Teams Isolated Webview component did not properly control modifications to object prototypes, allowing an attacker to escalate privileges. An attacker could combine this 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.1 View original

This vulnerability allows remote attackers to escalate privileges on affected installations of Microsoft Teams. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.

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; user interaction is required.

What the attacker needed

Victim visits a malicious page; or opens a malicious file

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 define how objects behave in JavaScript. If an attacker can change these blueprints, they might make the program do things it shouldn't, like run malicious code. This report says Teams had a flaw that let attackers do that, but it required the victim to visit a malicious page or open a malicious file.

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.