Skip to content
RCE Advisory Advanced CVE-2017-0278

Windows SMB Remote Code Execution Vulnerability (CVE-2017-0278)

The SMBv1 server mishandles certain requests, allowing an authenticated attacker to send a crafted packet and execute code on the target server. The update corrects how SMBv1 handles these requests.

Viktor Brange Follow

Originally disclosed on Microsoft

Critical 7.0 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, in most situations, 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 Server

Windows SMB Server

The original report as published on the Microsoft Security Response Center, by Viktor Brange of WDG Offensive Security Research Team. 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-safety flaw in how SMBv1 parses specially crafted requests.

Impact

An authenticated attacker could execute code on the target server.

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 on Windows networks. A flaw in how the older SMBv1 version processes some network messages lets someone who is already logged in send a malicious message that makes the server run their 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 Viktor Brange

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.