(Pwn2Own) Microsoft Teams Unnecessary Privileges Privilege Escalation Vulnerability
The Microsoft Teams desktop application starts with unnecessary privileges due to parameters passed to its process. An attacker who can already run script in the application window could combine this with another flaw to execute arbitrary code with the process's privileges.
Originally disclosed on Zero Day Initiative
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.
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 is launched with command-line parameters that grant it more privileges than necessary, and this excess privilege can be abused when combined with script execution.
Impact
An attacker could escalate privileges and execute arbitrary code in the context of the current process, but only if they already have the ability to execute script within the application window.
What the attacker needed
Ability to execute script in Teams window
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.
This is about the Microsoft Teams desktop app starting up with more power than it needs. If an attacker already has a way to run some code inside Teams, they could use that extra power to do more damage, like running their own programs. The report is very short and does not explain the exact technical details.
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.