Skip to content
Memory corruption Advisory Advanced CVE-2017-11771

Windows Search Remote Code Execution Vulnerability (CVE-2017-11771)

Windows Search mishandled objects in memory, allowing an attacker to send specially crafted messages to the service. This could let an attacker take control of the affected system, including installing programs or creating accounts with full rights.

Gabriel Negreira Barbosa Follow

Originally disclosed on Microsoft

Critical 8.1 View original

Description

A remote code execution vulnerability exists when Windows Search handles objects in memory. An attacker who successfully exploited this vulnerability could take control of the affected system. An attacker could then install programs; view, change, or delete data; or create new accounts with full user rights. To exploit the vulnerability, the attacker could send specially crafted messages to the Windows Search service. An attacker with access to a target computer could exploit this vulnerability to elevate privileges and take control of the computer. Additionally, in an enterprise scenario, a remote unauthenticated attacker could remotely trigger the vulnerability through an SMB connection and then take control of a target computer. The security update addresses the vulnerability by correcting how Windows Search handles objects in memory.

Microsoft Windows Search Component

Microsoft Windows Search Component

Issuing CNA

Microsoft

The original report as published on the Microsoft Security Response Center, by Gabriel Negreira Barbosa & Ditmar Wendt. 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 incorrect handling of objects in memory within the Windows Search service, leading to memory corruption.

Impact

An attacker could take control of the affected system, install programs, view or change data, or create accounts with full user rights; in an enterprise setting an unauthenticated attacker could trigger it remotely over SMB.

What the attacker needed

Access to target computer or SMB connection

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.

Windows Search is a background service that indexes files so searches are fast. A memory handling mistake in that service meant a malicious message could corrupt its memory and let an attacker run their own code. That is serious because the service often runs with high privileges.

What is Memory corruption?

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.

More by Gabriel Negreira Barbosa

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.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.