Skip to main content
Mallory
CriticalExploited in the wildCISA KEVPublic exploitVulnerability

CVE-2017-7269: Remote Code Execution in Microsoft IIS 6.0 WebDAV

Published Mar 27, 2017 · Updated 3 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS9.8Critical · v3.1
EPSS99.8%100th percentile
CISA KEVYesAdded Nov 3, 2021
In the wildActivePer CISA KEV
Vendor
Microsoft Corporation
IdentifiersCVE-2017-7269CWE-119

CVE-2017-7269 is a buffer overflow in the ScStoragePathFromUrl function of the WebDAV service in Microsoft Internet Information Services (IIS) 6.0 on Windows Server 2003, including Windows Server 2003 R2. Incorrect handling of Unicode character counts versus byte counts during buffer reallocation results in insufficient allocation when processing an oversized If header in a crafted PROPFIND request. Remote attackers can exploit the resulting memory corruption to execute arbitrary code in the affected application's security context. Failed exploitation can cause denial of service. Exploitation in the wild was reported as early as July or August 2016.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation compromises the affected web application process, allowing arbitrary code execution with the privileges of its service account. Attackers can access or modify resources available to that account, deploy additional malware, and repurpose the server as command-and-control or malware-delivery infrastructure. Observed abuse includes cryptocurrency mining and establishment of attacker-controlled HTTP servers. Malformed requests or failed exploitation attempts can also disrupt the service.

Mitigation

If you can’t patch tonight, do this now.

Disable WebDAV on affected IIS 6.0 installations if it is not required. Until remediation is complete, restrict access to vulnerable web services to trusted systems and use web application firewall or intrusion-prevention rules to block crafted WebDAV PROPFIND requests containing oversized If headers. Isolate legacy web servers from internal networks and run application service accounts with minimum necessary privileges to limit post-exploitation impact.

Remediation

Patch, then assume compromise.

Apply Microsoft's security update KB3197835 for the affected Windows Server 2003 configuration. Although early disclosure guidance anticipated no patch for the unsupported platform, an update was subsequently released in June 2017. Migrate Windows Server 2003 and IIS 6.0 workloads to supported Windows Server and IIS versions rather than relying on this historical update as a long-term security solution.

Public exploits

Exploits

10 exploits validated by Mallory's analysis. Hidden: 3 rejected by Mallory's analysis as not a working exploit; 1 not yet analyzed, such as Exploit-DB entries.

View more in app →
iis_webdav_scstoragepathfromurl.rbThis repository contains a single Metasploit module implementing a remote code execution exploit for Microsoft IIS 6.0 WebDAV (CVE-2017-7269). The exploit targets a buffer overflow in the ScStoragePathFromUrl function by sending a specially crafted PROPFIND request with an overlong 'If' header. The module is written in Ruby and leverages Metasploit's HttpClient mixin to interact with the target. It includes logic to check for WebDAV support and IIS 6.0, constructs a Unicode-encoded payload with a custom ROP chain, and attempts to trigger the vulnerability by brute-forcing path lengths. The payload is fully customizable via Metasploit, allowing for various post-exploitation actions. The only fingerprintable endpoint is the web application's root path ('/'), which is configurable. The exploit is operational and requires the target to be running IIS 6.0 with WebDAV enabled on Windows Server 2003 R2 SP2 x86.Disclosed Mar 26, 2017 · Framework: metasploit · ruby · networkWeaponizedCVE-2017-7269This repository contains a Metasploit module (cve-2017-7269.rb) that exploits CVE-2017-7269, a buffer overflow vulnerability in the ScStoragePathFromUrl function of the WebDAV service in Microsoft IIS 6.0 (Windows Server 2003 R2). The exploit works by sending a specially crafted PROPFIND HTTP request with an overlong 'If: <http://' header, triggering the overflow and allowing remote code execution. The module allows the attacker to specify the physical path length and HTTP host, and delivers a customizable Metasploit payload (such as a reverse shell) to the vulnerable server. The README provides background on the vulnerability and usage notes, emphasizing that the exploit is to be used with Metasploit. The main code file is written in Ruby and is structured as a standard Metasploit exploit module, making it weaponized and easily customizable for different payloads and targets.Al1ex · Disclosed Apr 28, 2018 · Framework: metasploit · ruby · networkWeaponizedwebdav_exploitThis repository contains a Python exploit for CVE-2017-7269, a remote code execution vulnerability in Microsoft IIS 6.0 WebDAV. The repository consists of two files: a README.md with usage instructions and an exploit.py script. The exploit.py script takes a target URL as input, crafts a specially crafted PROPFIND HTTP request containing a large payload and shellcode, and sends it to the target server over a raw TCP socket. The shellcode is embedded in the request and is intended to be executed on the vulnerable IIS 6.0 server, potentially granting remote code execution. The exploit is operational and requires the attacker to specify a vulnerable target. The script is self-contained and does not rely on any external frameworks.eliuha · Disclosed Mar 29, 2017 · python · networkOperationalCVE-2017-7269-Echo-PoCThis repository contains a Python proof-of-concept exploit for CVE-2017-7269, a remote code execution vulnerability in Microsoft IIS 6.0 WebDAV. The main file, 'CVE-2017-7269_remote_echo.py', crafts and sends a specially crafted PROPFIND HTTP request with embedded shellcode to a specified IP address and port. The shellcode is designed to trigger code execution on the vulnerable server. The exploit is operational and provides a response indicating success, making it suitable for verification of the vulnerability. The repository also includes a brief readme in Chinese, describing usage and linking to a technical analysis. No hardcoded IPs or domains are present; the target is specified via command-line arguments. The exploit is network-based and targets the HTTP/WebDAV service on the victim server.lcatro · Disclosed Mar 29, 2017 · python · networkOperationalcve-2017-7269This repository contains a Metasploit module exploit for CVE-2017-7269, a buffer overflow vulnerability in the ScStoragePathFromUrl function of the WebDAV service in Microsoft IIS 6.0 (Windows Server 2003 R2). The exploit allows remote code execution by sending a specially crafted PROPFIND HTTP request with an overlong 'If' header. The module requires the attacker to specify the HTTP host header and the physical path length of the web root on the target server. The exploit delivers a customizable Meterpreter payload, providing a reverse shell to the attacker. The repository consists of a single Ruby exploit file (cve-2017-7269.rb) and a README.md with usage instructions and example configurations. The main attack vector is network-based, targeting the HTTP service on the vulnerable server. The exploit is operational and can be used to gain remote access to affected systems.zcgonvh · Disclosed Mar 30, 2017 · Framework: metasploit · ruby · networkOperationaliis6-exploit-2017-CVE-2017-7269This repository contains a Python exploit script targeting CVE-2017-7269, a buffer overflow vulnerability in Microsoft IIS 6.0's WebDAV service. The repository consists of a README and a single exploit script ('iis6 reverse shell'). The script takes four arguments: the target IP and port (the vulnerable IIS 6.0 server), and the attacker's IP and port (to receive the reverse shell). It crafts a malicious HTTP request to trigger the buffer overflow and sends Windows shellcode that opens a reverse shell back to the attacker. The shellcode is embedded as a long byte string and is designed to execute 'cmd.exe' on the target. The exploit is operational and provides remote command execution if successful. No hardcoded endpoints are present; all network targets are supplied by the user at runtime.g0rx · Disclosed Apr 5, 2017 · python · networkOperationalIIS_6.0_WebDAV_RubyThis repository contains a pure Ruby exploit for CVE-2017-7269, a buffer overflow vulnerability in Microsoft IIS 6.0's WebDAV ScStoragePathFromUrl function. The main file, 'exploit.rb', is a standalone script that takes a target IP address, port, and a payload option as arguments. It constructs a malicious HTTP PROPFIND request with a crafted header to trigger the overflow and appends shellcode corresponding to the selected payload. Payloads include launching calc.exe, causing a BSOD, displaying a message box, executing arbitrary commands, or adding a new local administrator account. The exploit communicates directly with the target over TCP, sending the crafted HTTP request. The repository is structured simply, with the exploit code, a README describing usage, and standard license and gitignore files. No external framework is used; the exploit is self-contained and operational.slimpagey · Disclosed Apr 6, 2017 · ruby · networkOperationalcve-2017-7269-toolThis repository contains a C# exploit for CVE-2017-7269, a buffer overflow vulnerability in Microsoft IIS 6.0 WebDAV (ScStoragePathFromUrl). The main file, CVE-2017-7269.cs, is a command-line tool that allows an attacker to: - Test if a target is vulnerable - Upload a webshell (typically an ASP file) to a specified path on the server - Execute arbitrary shellcode on the target - Attempt to kill the target process The tool is flexible, accepting various command-line parameters to specify the target URL, HTTP headers, webshell file and path, or shellcode file. The README.md provides build instructions and usage examples. The exploit works by sending a specially crafted HTTP request to the target IIS server, exploiting the buffer overflow to achieve code execution. The attack vector is network-based, requiring access to the target's HTTP(S) service. The exploit is operational, as it can deliver real payloads (webshell or shellcode) and is not just a proof of concept.zcgonvh · Disclosed May 16, 2017 · csharp · networkOperationalCVE-2017-7269This repository contains a Python proof-of-concept exploit (GenWebDavIISExploit.py) targeting a remote code execution vulnerability in the WebDAV component of Microsoft IIS 6.0. The exploit works by sending a specially crafted HTTP request containing custom shellcode to the target server. The shellcode is dynamically generated to connect back to an attacker-specified IP and port, providing a reverse shell with SYSTEM privileges. The exploit requires the attacker to provide the target's IP and port, as well as their own IP and port for the reverse connection. The README provides detailed usage instructions and example output, demonstrating successful exploitation and remote command execution. The repository is structured simply, with the main exploit script, a README, and a license file. No detection or scanning functionality is present; this is a direct exploitation tool.geniuszly · Disclosed Oct 6, 2024 · python · networkOperationalCVE-2017-7269This repository is a Rust-based proof-of-concept exploit for CVE-2017-7269, a critical stack-based buffer overflow in Microsoft IIS 6.0's WebDAV extension (httpext.dll). The exploit targets the vulnerable ScStoragePathFromUrl function by sending a specially crafted HTTP PROPFIND request with an overly long If: header, causing a buffer overflow and hijacking execution flow. The main exploit logic is implemented in 'src/main.rs', which handles argument parsing, shellcode construction (either built-in reverse shell or user-supplied payload), and network communication with the target. The exploit establishes a TCP connection to the target's WebDAV service (default port 80), sends the malicious request, and delivers the shellcode. If successful, the exploit provides a reverse shell (cmd.exe) to the attacker's specified listener. The repository includes a README with detailed usage instructions and technical background. No hardcoded IPs or domains are present; all endpoints are user-supplied at runtime. The code is operational and demonstrates remote code execution, but is not part of a larger exploit framework.nika0x38 · Disclosed Sep 30, 2025 · rust · networkOperational
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Microsoft CorporationInternet Information Servicesapplication
FAQ

Frequently asked questions

Is CVE-2017-7269 exploited in the wild?
Yes. As of Nov 25, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Nov 3, 2021.
Is there a public exploit for CVE-2017-7269?
Yes. Mallory tracks 10 public exploits or proofs of concept for CVE-2017-7269, the earliest disclosed Mar 26, 2017.
Is there a patch for CVE-2017-7269?
Apply Microsoft's security update KB3197835 for the affected Windows Server 2003 configuration. Although early disclosure guidance anticipated no patch for the unsupported platform, an update was subsequently released in June 2017.
What products are affected by CVE-2017-7269?
Microsoft Corporation Internet Information Services.
How severe is CVE-2017-7269?
CVE-2017-7269 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 99.8% (100th percentile) as of Nov 25, 2026.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidence7Every report linking this CVE to a named adversary.
Associated malware13Malware families linked to this CVE, with evidence and IOCs.
Detection signatures2YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.