Skip to content
Access control Advisory Advanced

(Pwn2Own) Microsoft Teams Incorrect Privilege Assignment Local Privilege Escalation Vulnerability

Microsoft Teams incorrectly assigns privileges when processing global settings, allowing an attacker who can already run script in the application window to escalate privileges. This can be chained with other vulnerabilities to execute arbitrary code in the context of the current process.

VCSLAB 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.

vcslab of Team Viettel (@vcslab), 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

Root cause

Likely, the application does not properly check or assign privileges when handling global settings, allowing a lower-privileged script to gain higher privileges.

Impact

An attacker who can execute script in the application window 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 app 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.

This is a privilege escalation bug in Microsoft Teams. If an attacker can already run some code inside the Teams window, they can trick Teams into giving that code more power than it should have. That extra power could let them run their own programs on the victim's computer.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More by VCSLAB

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.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.