Microsoft Teams (work or school) for macOS WebView.app helper app library injection vulnerability
The Microsoft Teams WebView helper app on macOS loads a library from a path relative to its executable and has the disable-library-validation entitlement, allowing unsigned libraries to be loaded. A malicious application could inject a library and use the helper's inherited permissions, such as audio recording, without proper authorisation.
Originally disclosed on Cisco Talos
A library injection vulnerability exists in the WebView.app helper app of Microsoft Teams (work or school) 24046.2813.2770.1094 for macOS. A specially crafted library can leverage Teams’s access privileges, leading to a permission bypass.
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
A malicious application could inject a library into the helper and use its inherited permissions, such as audio recording, without proper authorisation.
What the attacker needed
Local access to the macOS system; ability to write to the helper's Frameworks directory
The fix
Microsoft fixed this issue in version 24124.1412.2911.3341.
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 a helper program that comes with Microsoft Teams on Mac. The helper is allowed to load extra code libraries from its own folder without checking if they are signed by Apple. A bad app could put a fake library there, and when the helper starts, it would run the bad code with the helper's permissions, like asking for microphone access.
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.