Skip to content
Access control Advisory Advanced CVE-2024-41145

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.

Francesco Benvenuto Follow

Originally disclosed on Cisco Talos

High 7.1 View original

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.

Francesco Benvenuto, on Cisco Talos

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.

More by Francesco Benvenuto

View all

152 more disclosed reports, best first.

More from Cisco Talos

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.