TY - CPAPER U1 - Konferenzveröffentlichung A1 - Büttner, Andre A1 - Nguyen, Hoai Viet A1 - Gruschka, Nils A1 - Lo Iacono, Luigi T1 - Less is Often More: Header Whitelisting as Semantic Gap Mitigation in HTTP-Based Software Systems T2 - Jøsang, Futcher et al. (Eds.): ICT Systems Security and Privacy Protection. SEC 2021. IFIP Advances in Information and Communication Technology, Vol 625 N2 - 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. KW - security KW - Web KW - Intermediaries KW - Semantic gap KW - Header whitelisting KW - HTTP Y1 - 2021 UN - https://nbn-resolving.org/urn:nbn:de:hbz:1044-opus-55491 SN - 978-3-030-78119-4 SB - 978-3-030-78119-4 SN - 978-3-030-78120-0 SB - 978-3-030-78120-0 U6 - https://doi.org/10.1007/978-3-030-78120-0_22 DO - https://doi.org/10.1007/978-3-030-78120-0_22 SP - 332 EP - 347 S1 - 16 PB - Springer CY - Cham ER -