Skip to content
Memory corruption Advisory Advanced CVE-2021-43215

iSNS Server Memory Corruption Vulnerability Can Lead to Remote Code Execution (CVE-2021-43215)

The Windows iSNS server contained a memory corruption flaw that could be triggered by sending it a specially crafted request. An attacker able to reach the service could potentially achieve remote code execution on the host.

liubenjin Follow

Originally disclosed on Microsoft

Critical 9.8 View original

FAQ

How could an attacker exploit this vulnerability? An attacker could send a specially crafted request to the Internet Storage Name Service (iSNS) server, which could result in remote code execution.

FAQ

What is Windows iSNS? The Internet Storage Name Service (iSNS) protocol is used for interaction between iSNS servers and iSNS clients. iSNS manages an Internet Storage Name Service (iSNS) server, providing a registration function to allow all entities in a storage network to register and query the iSNS database. Is Windows iSNS installed by default? No. See iSNS Server Overview for more information about iSNS.

Internet Storage Name Service

Internet Storage Name Service

Microsoft

Microsoft

The original report as published on the Microsoft Security Response Center, by liubenjin with Codesafe Team of Legendsec at Qi'anxin Group. 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 bug in how the iSNS server parsed specially crafted requests, though the text does not describe the specific coding mistake.

Impact

An attacker who could send a crafted request to an exposed iSNS server could potentially run arbitrary code on it; systems without the optional service installed were not affected.

What the attacker needed

ISNS server installed and enabled; attacker can reach the iSNS service

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.

iSNS is a Windows service that helps storage devices on a network find and register with each other. This report says a flaw in how that service handled incoming messages could let an attacker run their own code on the machine. The service is not switched on by default, so only systems where it was deliberately enabled were exposed.

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 liubenjin

View all

6 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.

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.