Skip to content
RCE Advisory Intermediate CVE-2020-0729

LNK Remote Code Execution Vulnerability (CVE-2020-0729)

A remote code execution vulnerability exists in Microsoft Windows when a .LNK shortcut file is processed. An attacker could place a malicious .LNK file and associated binary on a removable drive or remote share, and when the user opens that location in Windows Explorer or another application that parses the .LNK file, the malicious binary executes code of the attacker's choice.

Shih-Fong Peng Follow

Originally disclosed on Microsoft

Critical 7.5 View original

Description

A remote code execution vulnerability exists in Microsoft Windows that could allow remote code execution if a .LNK file is processed. An attacker who successfully exploited this vulnerability could gain the same user rights as the local user. Users whose accounts are configured to have fewer user rights on the system could be less impacted than users who operate with administrative user rights. The attacker could present to the user a removable drive, or remote share, that contains a malicious .LNK file and an associated malicious binary. When the user opens this drive(or remote share) in Windows Explorer, or any other application that parses the .LNK file, the malicious binary will execute code of the attacker’s choice, on the target system. The security update addresses the vulnerability by correcting the processing of shortcut LNK references.

Windows Shell

Windows Shell

Microsoft

Microsoft

The original report as published on the Microsoft Security Response Center, by Shih-Fong Peng (@_L4ys) of TeamT5. Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

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 an error in how Windows Shell processes shortcut LNK references, allowing a crafted .LNK file to cause execution of an associated binary.

Impact

An attacker could gain the same user rights as the local user, so accounts with fewer rights would be less impacted than administrative accounts.

What the attacker needed

Attacker places malicious .LNK and binary on drive/share; victim opens the drive or share in Explorer or similar

How it was found

  1. The attacker places a malicious .LNK file and an associated malicious binary on a removable drive or remote share.
  2. The attacker presents that drive or share to the user.
  3. The user opens the drive or share in Windows Explorer or another application that parses the .LNK file.
  4. The malicious binary executes code of the attacker's choice on the target system.

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.

A .LNK file is a Windows shortcut, like an icon you double-click to open a program. This bug means that a specially crafted shortcut file can make Windows run harmful code without the user doing anything unusual beyond opening a folder or drive. The attacker needs to trick the user into opening a location that contains the malicious shortcut and a matching program file.

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 Shih-Fong Peng

View all

1 more disclosed report, best first.

More from Microsoft

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.