HTTP Request Synchronization Defeats Discrepancy Attacks

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Topcuoglu, Cem, Onarlioglu, Kaan, Sprecher, Steven, Kirda, Engin
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866917004857835520
author Topcuoglu, Cem
Onarlioglu, Kaan
Sprecher, Steven
Kirda, Engin
author_facet Topcuoglu, Cem
Onarlioglu, Kaan
Sprecher, Steven
Kirda, Engin
contents Contemporary web application architectures involve many layers of proxy services that process traffic. Due to the complexity of HTTP and vendor design decisions, these proxies sometimes process a given request in different ways. Attackers can exploit these processing discrepancies to launch damaging attacks including web cache poisoning and request smuggling. Discrepancy attacks are surging, yet, there exists no systemic defense. In this work, we propose the first comprehensive defense to address this problem, called HTTP Request Synchronization. Our scheme uses standard HTTP extension mechanisms to augment each request with a complete processing history. It propagates this context through the traffic path detailing how each server hop has processed said request. Using this history, every proxy server can validate that their processing is consistent with all previous hops, eliminating discrepancy attacks. We implement our scheme for 5 popular proxy technologies, Apache, NGINX, HAProxy, Varnish, and Cloudflare, demonstrating its practical impact.
format Preprint
id arxiv_https___arxiv_org_abs_2510_09952
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle HTTP Request Synchronization Defeats Discrepancy Attacks
Topcuoglu, Cem
Onarlioglu, Kaan
Sprecher, Steven
Kirda, Engin
Cryptography and Security
Contemporary web application architectures involve many layers of proxy services that process traffic. Due to the complexity of HTTP and vendor design decisions, these proxies sometimes process a given request in different ways. Attackers can exploit these processing discrepancies to launch damaging attacks including web cache poisoning and request smuggling. Discrepancy attacks are surging, yet, there exists no systemic defense. In this work, we propose the first comprehensive defense to address this problem, called HTTP Request Synchronization. Our scheme uses standard HTTP extension mechanisms to augment each request with a complete processing history. It propagates this context through the traffic path detailing how each server hop has processed said request. Using this history, every proxy server can validate that their processing is consistent with all previous hops, eliminating discrepancy attacks. We implement our scheme for 5 popular proxy technologies, Apache, NGINX, HAProxy, Varnish, and Cloudflare, demonstrating its practical impact.
title HTTP Request Synchronization Defeats Discrepancy Attacks
topic Cryptography and Security
url https://arxiv.org/abs/2510.09952