Skip to content
RCE Advisory Intermediate CVE-2024-41165

Microsoft Word for macOS library injection vulnerability

Microsoft Word for macOS loads dynamic libraries from 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 inherit Word's permissions, potentially recording audio, sending emails, or accessing files without user prompts.

Francesco Benvenuto Follow

Originally disclosed on Cisco Talos

High 7.1 View original

A library injection vulnerability exists in Microsoft Word 16.83 for macOS. A specially crafted library can leverage Word’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 disable-library-validation entitlement enabled, which allows loading of unsigned dynamic libraries.

Impact

An attacker could potentially record audio, send emails through Microsoft Outlook, access the Pictures folder, exfiltrate data, and more; in cases where permissions are already granted, actions execute without a prompt, but if permission hasn't been granted, Word will initiate the request and may lead users to grant it.

What the attacker needed

Attacker can copy the app to a controllable location; attacker can place a malicious library

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 is about a security weakness in Microsoft Word on Mac computers. Word can be tricked into loading a malicious library (a file with code) because it does not check if the library is signed by a trusted developer. An attacker who can place a file on your computer could use Word's permissions to do things like access your microphone or send emails, sometimes without you seeing a permission pop-up.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

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.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.