Unveiling Moniker Link (CVE-2024–21413): Navigating The Latest
A flaw in Microsoft Outlook's handling of file:// hyperlinks allowed an attacker to bypass Office Protected View and open a malicious remote file. Clicking such a link could leak NTLM credentials or, via a Moniker Link, lead to remote code execution.
Published on redfoxsecurity.medium.com
An alarming new vulnerability has shaken the cybersecurity community. An intriguing flaw in Microsoft Outlook’s handling of specific hyperlink formats has been actively exploited in the wild, posing serious risks to individuals and organizations alike.
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 write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely Outlook failed to properly validate file:// hyperlinks containing a '!' character, treating them as composite Moniker Links and bypassing Protected View.
Impact
An attacker could steal NTLM credentials for lateral movement or achieve remote code execution, though the text notes Microsoft patched the flaw in February 2024.
What the attacker needed
Victim uses unpatched Outlook; victim clicks a crafted link; attacker controls a remote SMB server
The fix
Microsoft released a patch in February 2024 that addresses how Outlook handles file-based hyperlinks and prevents NTLM credential leakage.
How it was found
- Craft a file:// hyperlink pointing to a remote SMB share with a '!' character.
- Send the link to a victim via email.
- Victim clicks the link in Outlook.
- Outlook accesses the remote file, leaking NTLM credentials.
- Attacker hosts a malicious RTF file that Word opens, leading to code execution.
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 write-up has not been written yet. The Original tab links to the source.
Outlook normally warns you before opening unusual links, but a specially crafted file link slipped past that warning. When clicked, Outlook contacted an attacker's server and could hand over login details or even run malicious code.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.