Skip to content
Access control Advisory Advanced CVE-2018-0749

SMB Server Elevation of Privilege Vulnerability (CVE-2018-0749)

The Windows SMB Server mishandled a specially crafted file opened over SMB by a logged-on attacker, allowing certain operating system security checks to be bypassed. An attacker with valid credentials could run a crafted application to exploit this and take control of the affected system.

James Forshaw Follow

Originally disclosed on Microsoft

High 6.6 View original

Description

An elevation of privilege vulnerability exists in the Microsoft Server Message Block (SMB) Server when an attacker with valid credentials attempts to open a specially crafted file over the SMB protocol on the same machine. An attacker who successfully exploited this vulnerability could bypass certain security checks in the operating system. To exploit the vulnerability, an attacker would first have to log on to the system. An attacker could then run a specially crafted application that could exploit the vulnerability and take control of an affected system. The update addresses the vulnerability by correcting how Windows SMB Server handles such specially crafted files.

Windows SMB Server

Windows SMB Server

The original report as published on the Microsoft Security Response Center, by James Forshaw of Google Project Zero. 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 the SMB Server did not properly validate or handle specially crafted files, allowing security checks to be bypassed.

Impact

An attacker with valid credentials could bypass security checks and take control of the affected system.

What the attacker needed

Valid credentials to log on; local access to the same machine

How it was found

  1. Log on to the target system with valid credentials.
  2. Run a specially crafted application that opens a crafted file over SMB on the same machine.

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 Windows file-sharing protocol. A logged-in attacker could open a malformed file over SMB on the same machine, and the server's handling of that file let them skip some security checks. That could let them gain higher privileges and take control of the computer.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More by James Forshaw

View all

105 more disclosed reports, 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.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.