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.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Webdav?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/anandjogawade-webdav)
---
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.