Skip to content
Back to skills

Webdav

ASecurity

WebDAV enumeration and exploitation — detect DAV-enabled servers and abuse PUT/MOVE/PROPFIND to drop a webshell or disclose resources. Uses davtest and cadaver. Tier 1. Payloads: payloads/crlf-http.md. Use when OPTIONS/headers reveal WebDAV (DAV header, PROPFIND/MKCOL/COPY/MOVE/LOCK methods) on IIS, Apache mod_dav, or appliance file stores.

  • 16 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added November 17, 2026
securityphpshellbackend

Works with

  • mcp

Security analysis

A100/100

Scanned November 17, 2026

npx -y skills add AnandJogawade/Zazy-Pentest-Plugin-for-Claude --skill webdav --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Webdav?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Webdav
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/anandjogawade-webdav/badge)](https://www.skillsdirectory.com/skills/anandjogawade-webdav)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: webdav
description: "WebDAV enumeration and exploitation — detect DAV-enabled servers and abuse PUT/MOVE/PROPFIND to drop a webshell or disclose resources. Uses davtest and cadaver. Tier 1. Payloads: payloads/crlf-http.md. Use when OPTIONS/headers reveal WebDAV (DAV header, PROPFIND/MKCOL/COPY/MOVE/LOCK methods) on IIS, Apache mod_dav, or appliance file stores."
---

# WebDAV Enumeration & Exploitation

WebDAV adds file-management verbs (PROPFIND, MKCOL, COPY, MOVE, LOCK, PUT, DELETE) over HTTP. Misconfigured write access → upload or move a webshell into an executable path → RCE.

## Trigger phrases
`webdav, dav, propfind, mkcol, cadaver, davtest, put webshell, iis webdav`

## Method
1. **Detect:** `OPTIONS /` — look for `DAV:` header and DAV verbs in `Allow`/`Public`; `nmap --script http-webdav-scan,http-iis-webdav-vuln`. Cross-ref `http-methods`.
2. **Enumerate reachable DAV root(s):** `PROPFIND` with `Depth: 1` lists collections/files:
   ```
   PROPFIND /webdav/ HTTP/1.1
   Host: target
   Depth: 1
   Content-Length: 0
   ```
3. **Auto-probe write + execution** with `davtest` (what extensions upload AND execute):
   ```
   davtest -url http://target/webdav -sendbd auto
   davtest -url http://target/webdav -cleanup
   ```
4. **Interactive upload** with `cadaver`: `put shell.txt`, then `MOVE`/`COPY` to a code extension if direct PUT of `.asp`/`.jsp`/`.php` is blocked:
   ```
   MOVE /webdav/shell.txt HTTP/1.1
   Host: target
   Destination: http://target/webdav/shell.aspx
   ```
5. **Trigger:** request the moved shell; confirm execution with OAST (`nslookup <id>.oast`) before anything intrusive. Honor RoE for production writes; clean up uploaded files.

## Modern / rare techniques
- [NEW] **PUT-then-MOVE extension bypass** — upload a benign extension, then `MOVE`/`COPY` to an executable one (classic IIS WebDAV auth/exec bypass) when the PUT handler blocks script extensions.
- [NEW] **IIS 6.0 WebDAV path/Unicode tricks** (`::$DATA`, `;.txt`, char-mangling) to place code where it executes — cross-ref `file-upload` NTFS-ADS section.
- **LOCK/UNLOCK and `Destination` header abuse** to overwrite existing files or escape the DAV root via traversal in `Destination`.

## Bypass / evasion
${CLAUDE_PLUGIN_ROOT}/payloads/crlf-http.md + waf-bypass.md: alt code extensions, PUT→MOVE rename, `Destination` traversal, method-override if PUT is proxy-filtered (`http-methods`), case/encoding on the DAV path.

## Escalation / chaining
Webshell → `command-injection` → host/`cloud-pentest`. Verb/authz gaps → `http-methods`/`access-control`. Upload-filter bypass techniques shared with `file-upload`. Disclosed internal paths via PROPFIND → further recon.

## Backend & tooling
Preferred Kali path (native / WSL+Kali / Kali-SSH / Kali-MCP / HexStrike): `davtest`, `cadaver`, `nmap` http-webdav scripts, `curl -X PROPFIND/PUT/MOVE`, interactsh for exec confirmation. If a Burp MCP is present, craft PROPFIND/PUT/MOVE in Repeater. Windows-local last resort. See `zazy-orchestrator`.

## Verification (background, before reporting)
Re-confirm independently (second method/vantage or OAST callback for exec) and reproduce before marking CONFIRMED. Prove upload+execution, then remove all test files. Report true positives only.

## Evidence
`OPTIONS`/DAV header, PROPFIND listing, the successful PUT/MOVE and the executed shell output (or OAST callback), affected DAV root, impact. Remediation: disable WebDAV where unused, deny write/script extensions in the DAV path, require auth, store DAV content outside the executable webroot, block `Destination` traversal.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in security →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.