← Lab /Security & privacy

Many sites let POST requests be rewritten as GET, exposing CSRF and cache defenses

Security & privacy Measurement · Prototype · arXiv

The claim

The authors assert that POST requests can be converted to GET requests with equivalent responses on a notable fraction of popular web sites

Matteo Golinelli, Seif Errahmane Hannachi, Bruno Crispo · arXiv Paper PDF

Published as: “When POST Becomes GET: Investigating HTTP Method Interchangeability and Its Security Implications”

So what

Method interchangeability can bypass CSRF token checks and expose dynamic content to caching, creating new attack surfaces for cross-site request forgery and cache-based data leakage.

The five-minute version

High-confidence HTTP method interchangeability is observed on 4.1% of all tested sites (407 of 10,000), affecting 12.7% of sites with captured POSTs and 14.9% of sites with replayed POSTs. Among 115 token-bearing requests, 7 cases across 2 sites show that POST requests reject invalid CSRF tokens while the equivalent GET accepts them. Method interchangeability also leads to cacheable dynamic responses: 56 request instances (4.6%) across 9 sites (2.2%) yielded a WCD-style cache hit. The evidence is based on a large-scale unauthenticated crawl of the Tranco top-10k with a baseline-controlled comparison, but the measurement is a lower-bound due to crawl limits and deny-listing.

What they found 3

What undercuts it the paper’s own results

Stated limits 4

What’s new here 4

Artifacts & methods 5

Topics

HTTP method semanticsCross-Site Request ForgeryWeb Cache DeceptionWeb crawling and replayResponse equivalence detectionMethod interchangeability
← Previous Quantized DNNs remain as vulnerable to membership inference as full-precision models