When POST Becomes GET: Investigating HTTP Method Interchangeability and Its Security Implications
Matteo Golinelli, Seif Errahmane Hannachi, Bruno Crispo
Key points
From the paper's conclusion- These results demonstrate that method interchangeability is observable in real web applications and can expose method-scoped defense gaps.
Abstract
HTTP method semantics are a common boundary between safe retrieval and state-changing operations; however, deployed web applications do not always enforce this boundary consistently. In this paper, we study HTTP method interchangeability, a behavior where a POST request can be rewritten as a GET request to the same endpoint, with POST body parameters moved into the query string, while preserving an equivalent observed response. We present Method Interchange Detection Engine (MIDE), an automated pipeline that crawls web applications in a browser, records POST requests generated by page loads and user-interface interactions, converts supported POST bodies into GET candidates, and compares replayed responses with the original POST response. To avoid counting generic or parameter-independent responses as interchangeable, MIDE also sends a no-query GET baseline. We treat as high-confidence evidence of interchangeability only the cases where the converted GET matches the POST, while the baseline does not. We perform a large-scale unauthenticated experiment on the Tranco top 10k. We find high-confidence interchangeable requests on 407 of 10,000 tested sites (4.1%), 407 of 3,200 sites with captured POSTs (12.7%), and 407 of 2,734 sites with replayed POSTs (14.9%). A targeted Cross-Site Request Forgery (CSRF) token-replay check finds cases where invalid tokens are rejected for POST but accepted for the equivalent GET. We also observe Web Cache Deception (WCD) conditions and cacheable GET responses for interchangeable request instances. These results demonstrate that method interchangeability is observable in real web applications and can expose method-scoped defense gaps.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Validating HTTP Semantics in REST APIs With Constructed Call Sequence ScenariosarXiv · 2026
- When 200 OK Is Not an Answer: Silent Fetch Failures in Agentic Web Content AcquisitionarXiv · 2026
- Beyond Bot Labels: Retrospective Consequence-Grounded Ranking of Attributed Cache Harm in E-Commerce LogsarXiv · 2026
- PHISHREV+: An ASP-Based Post-Hoc Defeasible Machine Learning Framework for Phishing DetectionarXiv · 2026
- SecretSifter: A Runtime Secret-Detection Engine for Live Web TrafficarXiv · 2026
- TraceLib: System-Call Bitmap Feedback Mechanism for Language-Agnostic Web FuzzingarXiv · 2026