HTTP请求同步击败差异攻击
HTTP Request Synchronization Defeats Discrepancy Attacks
AI总结:
针对Web代理处理差异导致的缓存中毒和请求走私攻击,提出首个系统性防御方案HTTP Request Synchronization,通过标准HTTP扩展记录请求处理历史,使各代理验证处理一致性,并在5种主流代理上实现验证。
摘要:
现代Web应用程序架构包含多层处理流量的代理服务。由于HTTP的复杂性和供应商的设计决策,这些代理有时会以不同方式处理同一请求。攻击者可利用这些处理差异发起破坏性攻击,包括Web缓存中毒和请求走私。差异攻击正在激增,但目前尚无系统性防御措施。在本研究中,我们提出首个解决此问题的全面防御方案,称为HTTP Request Synchronization。该方案利用标准HTTP扩展机制为每个请求增加完整的处理历史。它通过流量路径传播此上下文,详细说明每个服务器跳如何处理该请求。利用此历史记录,每个代理服务器都能验证其处理与所有先前跳一致,从而消除差异攻击。我们为5种流行代理技术Apache、NGINX、HAProxy、Varnish和Cloudflare实现了该方案,证明了其实际影响。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。