Skip to content
RCE Write-up Intermediate

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.

Redfox Security Follow

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.

Redfox Security, on redfoxsecurity.medium.com

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

  1. Craft a file:// hyperlink pointing to a remote SMB share with a '!' character.
  2. Send the link to a victim via email.
  3. Victim clicks the link in Outlook.
  4. Outlook accesses the remote file, leaking NTLM credentials.
  5. 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.

More by Redfox Security

View all

4 more disclosed reports, best first.

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.