Dangerous HTTP methods and method-based auth bypass — enumerate and abuse PUT, DELETE, TRACE (XST), OPTIONS, and arbitrary verbs, plus X-HTTP-Method-Override filter bypass. Tier 1. Payloads: payloads/crlf-http.md. Use during config/deployment testing of any web server or API, and whenever method-level access control is suspected.
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 Http Methods?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/anandjogawade-http-methods)
---
name: http-methods
description: "Dangerous HTTP methods and method-based auth bypass — enumerate and abuse PUT, DELETE, TRACE (XST), OPTIONS, and arbitrary verbs, plus X-HTTP-Method-Override filter bypass. Tier 1. Payloads: payloads/crlf-http.md. Use during config/deployment testing of any web server or API, and whenever method-level access control is suspected."
---
# Dangerous HTTP Methods & Method-Based Bypass
Web servers/apps often enforce authz per URL but not per method, or leave write/debug verbs enabled. Enumerate allowed methods, then abuse them for file write, info leak, or access-control bypass.
## Trigger phrases
`http methods, dangerous methods, put method, delete method, trace, xst, options, method override, verb tampering`
## Method
1. **Enumerate:** `OPTIONS` (read `Allow:`), `nmap --script http-methods --script-args http-methods.test-all <target>`, and probe each verb directly. Note which methods differ per path (API vs static vs admin).
2. **PUT → file write/RCE:** try uploading a webshell where PUT is enabled:
```
PUT /uploads/shell.jsp HTTP/1.1
Host: target
Content-Length: <n>
<% ... webshell ... %>
```
Then request the file. Cross-ref `webdav` for WebDAV-backed PUT/MOVE chains. (Honor RoE before writing to production.)
3. **DELETE:** test on a throwaway resource only — proves destructive authz gap without damaging real data.
4. **TRACE → XST:** `TRACE / HTTP/1.1` reflecting a custom header = enabled; historically leaks `HttpOnly` cookies via XHR. Flag as enabled + explain impact.
5. **Method-based access-control bypass:** if `GET /admin` is blocked, resend with `HEAD`, `POST`, or an arbitrary verb (`CATS /admin`) — a 200 that isn't the login page = authz applied only to GET. Many frameworks run the handler for unknown verbs.
6. **Method-override bypass:** when a verb is filtered at the proxy, tunnel it via `X-HTTP-Method-Override: PUT` / `X-HTTP-Method` / `X-Method-Override` / `_method=PUT` (Symfony/Rails form field).
## Modern / rare techniques
- [NEW] **Verb tampering for authz bypass** — unknown/uncommon methods (`CATS`, `FOO`) frequently reach the handler while bypassing a method-scoped deny rule; pair with path tricks (`/admin/`, `/Admin`, `/%2e/admin`) from `access-control`.
- [NEW] **Method override to defeat WAF/proxy method filters** — the override headers above are evaluated by the app after the proxy allowed a benign `GET`/`POST`.
- **HTTP/2 `:method` abuse** (spaces/injection) to slip past `ProxyMatch`/path-based method rules — see `http-request-smuggling` and `mod-proxy-ssrf`.
## Bypass / evasion
${CLAUDE_PLUGIN_ROOT}/payloads/crlf-http.md + waf-bypass.md: verb case variations, override-header family, `_method` body param, trailing path chars, HTTP/2 downgrade method injection.
## Escalation / chaining
PUT webshell → `command-injection` → host. WebDAV verbs → `webdav`. Method-authz bypass → `access-control`/`idor`. TRACE/XST → cookie theft context (`dom-xss`). Override → reach state-changing endpoints (`csrf`).
## Backend & tooling
Preferred Kali path (native / WSL+Kali / Kali-SSH / Kali-MCP / HexStrike): `nmap http-methods`, `curl -X <VERB>`, `davtest`/`cadaver` for WebDAV, `nikto`, `ffuf` for per-path verb matrices. If a Burp MCP is present, change the method in Repeater and fuzz verbs/override headers with Intruder. Windows-local last resort. See `zazy-orchestrator`.
## Verification (background, before reporting)
Re-confirm independently (second verb/vantage or OAST callback for any exec) and reproduce before marking CONFIRMED. For PUT/DELETE, prove the capability on a controlled/throwaway path and remove artifacts. Report true positives only.
## Evidence
`OPTIONS`/`Allow` output, the abused verb request/response (uploaded file URL, deleted test resource, TRACE reflection, or bypassed 200), the override technique, affected endpoint, impact. Remediation: allowlist required methods per endpoint, enforce authz on every method, disable PUT/DELETE/TRACE/WebDAV where unused (`TraceEnable Off`), ignore method-override headers unless intentionally supported.