Microsoft PowerPoint for macOS library injection vulnerability
Microsoft PowerPoint 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 app to a controllable location and inject a malicious library to gain PowerPoint's permissions, potentially accessing the camera, microphone, and other resources.
Originally disclosed on Cisco Talos
A library injection vulnerability exists in Microsoft PowerPoint 16.83 for macOS. A specially crafted library can leverage PowerPoint’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
Root cause
The application has the com.apple.security.cs.disable-library-validation entitlement enabled, which disables the hardened runtime's protection against loading unsigned dynamic libraries.
Impact
An attacker could potentially capture pictures, record audio, send emails through Microsoft Outlook, access the Pictures folder, and exfiltrate data, though some actions may still trigger permission prompts if not already granted.
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.
When a program starts, it often loads extra code from library files. Normally macOS checks that these libraries are signed by a trusted developer. PowerPoint has a setting that turns off this check, so it will load any library. An attacker who can place a malicious library where PowerPoint looks for it can make PowerPoint run their code with all of PowerPoint's permissions, like using the camera or microphone.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.