BreachHunter
Pricing Blog Log inSign up
● thermal huntscan engines onlineassessment only — no exploits
  1. Home
  2. Blog
  3. Dangerous HTTP Methods: What TRACE, PUT and DELETE Should Never Answer

Guides · ← All guides

Dangerous HTTP Methods: What TRACE, PUT and DELETE Should Never Answer

Published: November 14, 2026 · Last reviewed: November 14, 2026 · 7 min read

By the Ingenious AI team

The short answer: Most websites need exactly two HTTP methods from the public: GET and POST. BreachHunter's web audit sends an OPTIONS probe and direct tests for the rest — TRACE, PUT, DELETE, PATCH and friends — because each additional accepted method is capability you probably never intended to publish: TRACE echoes requests (the cross-site tracing attack), and PUT/DELETE that a misconfigured server honors can write or remove files. The finding lists the methods your server actually accepts, per the audit's own methods check.

Run a free BreachHunter assessment on your site →

HTTP methods are verbs, and servers are often more fluent than their owners realize. Frameworks, WebDAV modules and default configurations have a habit of enabling verbs nobody uses — harmless on a trusted network, and on the public internet a standing invitation to check whether they are merely enabled or actually honored.

This guide explains what the audit's methods check sends, why TRACE earned its own attack name, the honest middle cases (APIs that legitimately use PUT/DELETE — behind authentication, deliberately), and the server-level restriction that returns your public surface to read-and-post.

TRACE, PUT, DELETE: what each one risks

TRACE asks the server to echo the request it received. Its attack, cross-site tracing (XST), was designed to read headers — including HttpOnly cookies — through the echo, bypassing the flag's protection. Modern browsers block TRACE from scripts, which demoted XST from critical to historical, but the method still has no public purpose: a server answering TRACE in 2026 is announcing an unreviewed configuration, which is exactly what an assessment is for.

PUT and DELETE are the substantive risks where they are honored rather than merely listed: a WebDAV-enabled or misconfigured server that accepts an unauthenticated PUT is a file-upload vulnerability with no upload form. The audit distinguishes “OPTIONS says allowed” from “the method actually works” where it safely can — and the report treats a working write method on a public page as a serious finding, not a curiosity.

The API exception, handled deliberately

Plenty of legitimate APIs use PUT, PATCH and DELETE — behind authentication, scoped tokens, and routes designed for them. The assessment's concern is the public web surface: the marketing site, the login flow, the static host. The correct end state is per-surface method policy: the API answers its verbs to authenticated callers on its own host or path prefix; the public site answers GET, POST and the harmless OPTIONS/HEAD set — and 405s everything else.

Implementation is a server or framework allow-list, verified by re-probing: the same OPTIONS and per-method requests the audit sends, confirming the dangerous verbs now return 405 Method Not Allowed on public paths while the API's authenticated flows still pass their tests. Configuration drift brings these back — a WebDAV module enabled for one use case tends to apply vhost-wide — so the methods line belongs in the retest diff every scan, like the port list in the open ports guide.

Worked example: silverlineaccounting.example

Silverline Accounting's client portal ran on a stack whose WebDAV module had been enabled years earlier for a file-sync tool and never scoped down. The methods check on the public site returned:

OPTIONS / -> 200
  Allow: GET, POST, PUT, DELETE, TRACE, OPTIONS, PROPFIND
Direct tests: TRACE answered 200 (echo), PUT to /test-probe -> 201 on staging vhost

The 201 on the staging sibling turned a configuration tidy-up into a priority fix: WebDAV was removed from both vhosts (the sync tool had been retired in 2024), a method allow-list was set at the server, and the retest showed Allow: GET, POST, OPTIONS with TRACE and PUT returning 405. The portal API — which did use authenticated PUT on its own subdomain — was untouched and verified working, the both-directions test the checklist demands.

The five actions to take

Reducing your public method surface:

  1. Probe your own public hosts with OPTIONS and direct TRACE/PUT/DELETE tests — record what is listed and what actually works.
  2. Disable WebDAV and any unused method-handling modules at the server level.
  3. Set an explicit method allow-list per surface: GET/POST (+HEAD/OPTIONS) for public pages; full verbs only on authenticated API routes.
  4. Verify the API exception still functions with its real authentication after the restriction.
  5. Re-scan and watch the methods line in future diffs — module changes re-enable verbs silently.

Run a free BreachHunter assessment on your site →

Frequently asked questions

OPTIONS lists PUT, but PUT does not actually work. Is it still a finding?

A lesser one — the audit reports listed versus working methods with different weight where it can distinguish them safely. Fix the listing anyway: OPTIONS output is free recon, and a module change can turn “listed” into “working” without anyone noticing.

Why do browsers blocking TRACE not close the issue?

Browser restrictions killed the classic XST path, but TRACE remains a diagnostic echo with no public purpose, and non-browser clients are unrestricted. Assessments flag unnecessary capability: if nothing legitimate uses it, its only possible role is in someone else's chain.

We use DELETE in our REST API. Are we failing the audit?

Not if it is scoped correctly: authenticated, on API routes, with authorization per resource. The finding targets unauthenticated public surfaces. Documenting the API's method policy in the report response turns the line from a finding into a reviewed design.

What should a restricted method return?

405 Method Not Allowed is the honest answer and what the retest expects. Some stacks return 403 or 404; those also pass the substance test — the verb must not work — but 405 communicates intent to future maintainers.

How does the audit test methods safely?

With OPTIONS discovery and minimal, non-destructive probes — a TRACE echo request and method attempts that do not write real content to real paths. Destructive verification belongs to an authorized pentest, not an automated assessment.

What to ask your host or developer, verbatim

Method control lives in server configuration, so the fix request needs the config names, not a vague 'close the dangerous methods'. On Apache, TRACE is governed by TraceEnable off, and per-directory method limits use LimitExcept. On nginx, limit_except restricts methods per location. On IIS, request filtering carries a verbs section where each verb is explicitly allowed or denied.

Ask for the answer in writing: which methods does the server accept on the public site, and where is that set? If nobody can point at the line, the methods are whatever the defaults shipped — and defaults are written for compatibility, not for your threat model.

Sources

The references this guide stands on — standards, specifications and official documentation:

  • RFC 9110 (2022) — HTTP Semantics — the method definitions, including TRACE.
  • OWASP Web Security Testing Guide (2021) — testing HTTP methods as an assessor does.
Share this: X · Facebook · LinkedIn · WhatsApp

Related guides

  • Website Security Test: What It Checks, What It Misses, and How to Read Yours · 9 min read
  • Website Security Cheat Sheet: Headers, TLS, Cookies and Exposed Files · 7 min read
  • What a Website Security Assessment Actually Tests · 10 min read
  • TLS/SSL Basics: What Your Certificate Says About Your Site · 8 min read
  • Common Website Misconfigurations (and How to Fix Them) · 11 min read
  • Reading Your First Pentest Report: From Score to Action · 9 min read
  • Deleted ≠ Gone: What the Wayback Machine Keeps After You Delete Your Secrets · 9 min read
  • SQL Injection in Plain English: How One Login Box Can Read Your Database · 9 min read
  • What Does a Website Security Scan Check? · 8 min read
  • Exposed .git Directory: What It Leaks and How to Check · 7 min read
  • Security Headers Missing? What Each Header Stops · 7 min read
  • How Much Does a Penetration Test Cost in 2026? · 7 min read
  • Website Security Checklist for Small Teams (60-second self-check) · 6 min read
  • Reading Your Scan Results: Which Findings Fix First? · 7 min read
  • Content-Security-Policy Missing: What CSP Does and How to Add It Safely · 8 min read
  • HSTS Missing: What Strict-Transport-Security Prevents · 7 min read
  • Clickjacking and X-Frame-Options: How Framing Attacks Work · 7 min read
  • Cookie Flags Explained: Secure, HttpOnly and SameSite · 8 min read
  • Exposed .env File: What Leaks, What Attackers Do Next, What You Do First · 8 min read
  • Directory Listing Enabled: What It Shows Attackers and How to Disable It · 7 min read
  • Mixed Content: Why Your HTTPS Page Still Loads Insecure Resources · 7 min read
  • Expired SSL Certificate: What Breaks, Why Renewal Fails, and How to Catch It Early · 7 min read
  • TLS 1.0 and 1.1 Still Enabled: Why Old Protocols Show Up as a Finding · 7 min read
  • Open Ports on a Web Server: Which Ones Should Never Face the Internet · 8 min read
  • No SPF or DMARC Record: How Missing Email Auth Exposes Your Website · 7 min read
  • Subdomain Takeover: How a Dangling DNS Record Lets Attackers Claim Your Name · 7 min read
  • Forgotten Subdomains: The Staging Site You Forgot Is Still Public · 7 min read
  • WordPress Security Scan: The Exposures an Assessment Finds on WordPress Sites · 8 min read
  • Exposed Backup Files: .bak, .old and .zip Files Sitting in Your Web Root · 7 min read
  • phpinfo() in Production: The Diagnostic Page That Maps Your Server for Attackers · 7 min read
  • Server Version Banners: Why Your Headers Point Attackers to the Right Exploit · 7 min read
  • End-of-Life Software: Running a Server Stack Nobody Patches Anymore · 7 min read
  • CORS Misconfiguration: When Cross-Origin Sharing Opens Your Data to Any Site · 7 min read
  • Open Redirect Vulnerability: How Your Own Domain Sends Visitors to a Phishing Page · 7 min read
  • Host Header Injection: Poisoned Reset Links and Cache Attacks Explained · 7 min read
  • What Is security.txt? The Small File That Lets Researchers Reach You · 6 min read
  • Admin Panel Exposed to the Internet: What an Assessment Flags and Why · 7 min read
  • phpMyAdmin Exposed: Why This Database Door Is a Prime Brute-Force Target · 7 min read
  • Spring Boot Actuator Exposed: Environment Dumps, Heap Leaks and Shutdown Endpoints · 7 min read
  • Debug Console in Production: The Finding That Can Become Code Execution · 7 min read
  • Exposed AWS Credentials File: The /.aws/credentials Finding, Explained · 7 min read
  • Referrer-Policy and Permissions-Policy: The Two Quiet Headers You Are Probably Missing · 6 min read
  • Exposed package.json: Your Dependency List Is a Recon Gift · 6 min read
  • DNS Zone Transfer Open (AXFR): Handing Out Your Entire DNS Map · 6 min read
  • Certificate Name Mismatch: Why the Cert Does Not Match Your Domain · 6 min read
  • Website Security Assessments for Agencies: Checking Every Client Site Without a Security Team · 8 min read
  • SaaS Security Questionnaires: What Buyers Check About Your Website First · 8 min read
  • Ecommerce Website Security: The Exposures That Put Your Checkout at Risk · 8 min read
  • Small Business Website Security: The Checks That Matter at Your Size · 7 min read
  • How to Prepare for a Website Security Assessment (and Read the Report Calmly) · 7 min read
  • Vulnerability Severity Explained: What Critical, High, Medium and Low Actually Mean · 7 min read
  • Retest After Fixes: How to Prove a Security Finding Is Actually Closed · 7 min read
  • Security Assessment vs Vulnerability Scan vs Pentest: What Is the Difference? · 7 min read
  • How Long Does a Website Security Scan Take? · 6 min read
  • Website Security Drift: Why Last Month's Clean Scan Is Already Out of Date · 7 min read
  • WordPress Site Keeps Getting Hacked After Cleanup · 8 min read
  • Google Blacklist Removal: Getting the Red Warning Off Your Site · 8 min read
  • VirusTotal Flagged My Site: How to Clear a False Positive · 8 min read

Related from the Ingenious AI suite

  • Ingenious AI — the full suite of security and compliance tools
  • DomainGuard — domain impersonation and typosquat defense
  • See BreachHunter pricing →
BreachHunter · by Ingenious AI · read-only security assessment — scan only targets you own or are authorized to test
About · Contact · Blog · vs Intruder · Privacy · Terms · Security · Threats · Nextcloud Check · Verify Evidence · Help · Redeem
More from Ingenious AI:
DisclosureGuard — AI disclosure compliance · Vibe-Code Audit — AI code security scanner · Rogue-Agent Defense — AI agent firewall · ChatBreaker — AI chatbot red-teaming · ModelMinder — AI model deprecation radar · TermsWatch — AI vendor terms monitor · Agent Flight Recorder — tamper-evident agent audit trails · Agent Auth Gateway — agent credentials & kill switch · DomainGuard — domain impersonation defense · Agent Passport — Know-Your-Agent registry · AgentGate — agent policy publisher · AgentBlock — AI agent & crawler access control · BoundaryVault — agent log forensics · Agentic Receipts — verifiable agent payment receipts · EvalEgress — eval-to-production exposure scan · HomeShield MCP — home AI server exposure check · WireWatch — payment verification ceremony · ADMT Notice Kit — AI decision notice compliance · DueLadder — human-approved invoice chasing · Agent-Ready Store Audit — can AI agents buy from your store · ContentCraft AI — content operations · AgentReady — agent-readiness checks · AI Audit Exchange — AI audit exchange · CallbackShield — callback & webhook protection · CompanionGuard — AI companion safety guardrails · CRAClock — EU Cyber Resilience Act deadline clock · EInvoice Translator — e-invoice format translator · GEOFixer — geo & local listing fixes · MandateGuard — agent spending mandates · OutcomeMeter — AI outcome measurement · ProvenanceGuard — content provenance checks · ReviewDesk — review response desk · ReviewProof — verified review evidence · TakedownCoop — coordinated phishing takedowns · TrustGate — trust & safety gating · BreachHunter — website penetration testing · All 36 platforms — the Ingenious AI portfolio

We use cookies. Necessary cookies keep the site working. With your permission we also use analytics cookies (to understand usage) and marketing cookies (for ads). Read our privacy policy.

NecessaryRequired for login, security and core features. Always on.
AnalyticsHelps us understand which pages are useful.
MarketingUsed for advertising and measuring ad performance.

    No match. Try “pricing”, “php2shell” or “contact” — or press Esc to close.

    ↑↓ navigate · Enter open · Esc close