Skip to content
RCE Advisory Advanced CVE-2020-1301

Windows SMB Authenticated Remote Code Execution Vulnerability (CVE-2020-1301)

A remote code execution vulnerability exists in how the Microsoft SMBv1 server handles certain requests. An authenticated attacker could send a specially crafted packet to execute code on the target server.

Nicolas Delhaye Follow

Originally disclosed on Microsoft

High 7.5 View original

Description

A remote code execution vulnerability exists in the way that the Microsoft Server Message Block 1.0 (SMBv1) server handles certain requests. An attacker who successfully exploited the vulnerability could gain the ability to execute code on the target server. To exploit the vulnerability an authenticated attacker could send a specially crafted packet to a targeted SMBv1 server. The security update addresses the vulnerability by correcting how SMBv1 handles these specially crafted requests.

Windows SMB

Windows SMB

Microsoft

Microsoft

The original report as published on the Microsoft Security Response Center, by Nicolas Delhaye of AIRBUS. 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 a memory corruption issue in SMBv1 request handling, as the text only says the server mishandles specially crafted requests.

Impact

An authenticated attacker could execute code on the target server, potentially taking full control of it.

What the attacker needed

Authenticated access to the SMBv1 server

The fix

The vulnerability was fixed by a security update that corrects how SMBv1 handles these specially crafted requests.

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.

SMB is a file-sharing protocol used by Windows. A flaw in how the older SMBv1 version processes certain network messages could let someone who is already logged in run their own code on the server. This is serious because it could give an attacker full control of the machine.

What is RCE?

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

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.