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

Microsoft Outlook for macOS library injection vulnerability

Microsoft Outlook for macOS loads dynamic libraries using relative paths and has the disable-library-validation entitlement enabled, allowing unsigned libraries to be loaded. An attacker could copy the application to a controllable location and inject a malicious library to gain Outlook's permissions, potentially recording audio or accessing location data.

Francesco Benvenuto Follow

Originally disclosed on Cisco Talos

High 7.1 View original

A library injection vulnerability exists in Microsoft Outlook 16.83.3 for macOS. A specially crafted library can leverage Outlook’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

Root cause

Likely the application uses relative paths to load libraries and has the com.apple.security.cs.disable-library-validation entitlement enabled, which allows unsigned libraries to be loaded.

Impact

An attacker could potentially record audio, obtain the user's location, and perform other actions using Outlook's permissions, and in some cases permission prompts may not be shown.

What the attacker needed

Attacker can place a malicious app on the system; Outlook is installed

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 report describes a flaw in how Microsoft Outlook for macOS loads extra code files called libraries. Because Outlook is allowed to load libraries that are not signed by Apple, an attacker could trick Outlook into loading a malicious library and then use Outlook's permissions to do things like record audio or read your location.

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.