@inproceedings{BuettnerNguyenGruschkaetal.2021, author = {Andre B{\"u}ttner and Hoai Viet Nguyen and Nils Gruschka and Luigi Lo Iacono}, title = {Less is Often More: Header Whitelisting as Semantic Gap Mitigation in HTTP-Based Software Systems}, series = {J{\o}sang, Futcher et al. (Eds.): ICT Systems Security and Privacy Protection. SEC 2021. IFIP Advances in Information and Communication Technology, Vol 625}, publisher = {Springer}, address = {Cham}, isbn = {978-3-030-78119-4}, doi = {10.1007/978-3-030-78120-0\_22}, url = {https://nbn-resolving.org/urn:nbn:de:hbz:1044-opus-55491}, pages = {332 -- 347}, year = {2021}, abstract = {The web is the most wide-spread digital system in the world and is used for many crucial applications. This makes web application security extremely important and, although there are already many security measures, new vulnerabilities are constantly being discovered. One reason for some of the recent discoveries lies in the presence of intermediate systems—e.g. caches, message routers, and load balancers—on the way between a client and a web application server. The implementations of such intermediaries may interpret HTTP messages differently, which leads to a semantically different understanding of the same message. This so-called semantic gap can cause weaknesses in the entire HTTP message processing chain. In this paper we introduce the header whitelisting (HWL) approach to address the semantic gap in HTTP message processing pipelines. The basic idea is to normalize and reduce an HTTP request header to the minimum required fields using a whitelist before processing it in an intermediary or on the server, and then restore the original request for the next hop. Our results show that HWL can avoid misinterpretations of HTTP messages in the different components and thus prevent many attacks rooted in a semantic gap including request smuggling, cache poisoning, and authentication bypass.}, language = {en} }