Skip to content
Info disclosure Advisory Advanced CVE-2018-8336

Microsoft Windows SMB Client Out-Of-Bounds Read Information Disclosure Vulnerability

The Windows SMB client kernel component reads past the end of an allocated buffer when processing a crafted SMB reply. A local attacker who can already run low-privileged code could disclose sensitive information and, combined with other flaws, escalate to SYSTEM.

Haikuo Xie Follow

Originally disclosed on Zero Day Initiative

This vulnerability allows local attackers to disclose sensitive information on vulnerable installations of Microsoft Windows. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability.

Haikuo Xie of Baidu Security Lab, on the Zero Day Initiative

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 report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the SMB client kernel code fails to validate the length of data in an SMB reply before reading it, leading to an out-of-bounds read.

Impact

A local attacker with low-privileged code execution could disclose sensitive information and, in combination with other vulnerabilities, escalate privileges to SYSTEM.

What the attacker needed

Local low-privileged code execution

The fix

Microsoft issued an update to correct the vulnerability.

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 buffer is a fixed-size memory area; reading past its end can leak data that should not be visible. Here, a malicious SMB server sends a specially crafted reply, and the Windows client software reads too far, exposing memory contents to an attacker who already has a foothold on the machine.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by Haikuo Xie

View all

6 more disclosed reports, best first.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.