Skip to main content
QUICK REVIEW

[Paper Review] Effect of Pipelining and Multiplexing in Estimating HTTP/2.0 Web Object Sizes

Ricardo Morla|arXiv (Cornell University)|Jul 3, 2017
Internet Traffic Analysis and Secure E-votingComputer Science9 references4 citations
TL;DR

This paper investigates whether HTTP/2.0's pipelining and multiplexing mechanisms effectively prevent side-channel attacks based on HTTP response size estimation. Through empirical measurement of 10,000 popular websites, it finds that pipelining and multiplexing are used sparingly—only 29% of objects are pipelined and 5% are multiplexed—limiting their effectiveness in obscuring response sizes, and a simple TLS record size model remains highly effective for size estimation under current deployment conditions.

ABSTRACT

HTTP response size is a well-known side channel attack. With the deployment of HTTP/2.0, response size estimation attacks are generally dismissed with the argument that pipelining and response multiplexing prevent eavesdroppers from finding out response sizes. Yet the impact that pipelining and response multiplexing actually have in estimating HTTP response sizes has not been adequately investigated. In this paper we set out to help understand the effect of pipelining and response multiplexing in estimating the size of web objects on the Internet. We conduct an experiment that collects HTTP response sizes and TLS record sizes from 10k popular web sites. We gather evidence on and discuss reasons for the limited amount of pipelining and response multiplexing used on the Internet today: only 29% of the HTTP2 web objects we observe are pipelined and only 5% multiplexed. We also provide worst case results under different attack assumptions and show how effective a simple model for estimating response sizes from TLS record sizes can be. Our conclusion is that pipelining and especially response multiplexing can yield, as expected, a perceivable increase in relative object size estimation error yet the limited extent of multiplexing observed on the Internet today and the relative simplicity of attacks to the current pipelining mechanisms hinder their ability to help prevent web object size estimation.

Motivation & Objective

  • To assess whether HTTP/2.0's pipelining and multiplexing mechanisms effectively hinder side-channel attacks based on HTTP response size estimation.
  • To measure the actual extent of pipelining and multiplexing usage in real-world HTTP/2.0 deployments across popular websites.
  • To evaluate the effectiveness of response size estimation attacks under different attacker assumptions, especially using TLS record sizes as a proxy.
  • To identify technical and deployment-related reasons for the limited adoption of pipelining and multiplexing despite their privacy-preserving design intent.
  • To explore the implications for web application privacy, particularly for users behind proxies or CDNs where IP-based fingerprinting is ineffective.

Proposed method

  • Collected network traffic from 10,000 popular websites using a browser-based capture setup to observe real HTTP/2.0 traffic.
  • Analyzed TCP streams, HTTP/2.0 frames, and TLS record boundaries to map web object sizes to TLS record sizes.
  • Defined and measured indicators for pipelining (multiple requests sent before prior response completes) and multiplexing (overlapping response data across streams).
  • Evaluated attacker models under three increasing assumptions: no knowledge of pipelining/multiplexing, partial knowledge, and full knowledge of stream structure.
  • Used statistical analysis to quantify the worst-case relative error in response size estimation based on TLS record sizes.
  • Correlated TLS record size patterns with server IP addresses to detect potential side-channel leakage in real deployments.

Experimental results

Research questions

  • RQ1To what extent are pipelining and multiplexing actually used in real-world HTTP/2.0 deployments?
  • RQ2How effective are pipelining and multiplexing in increasing the error of response size estimation attacks?
  • RQ3Can a simple model based on TLS record sizes still accurately estimate HTTP response sizes despite HTTP/2.0 mechanisms?
  • RQ4What are the primary technical or deployment-related factors limiting the adoption of pipelining and multiplexing?
  • RQ5How does the limited use of these mechanisms affect the privacy of web users, especially in proxy and CDN environments?

Key findings

  • Only 29% of HTTP/2.0 web objects were pipelined, indicating limited use of request pipelining in practice.
  • Only 5% of HTTP/2.0 web objects were multiplexed, showing that response multiplexing is rarely deployed at scale.
  • Despite the theoretical privacy benefits, the limited real-world deployment of pipelining and multiplexing significantly reduces their effectiveness in obscuring response sizes.
  • A simple model that estimates HTTP response sizes from TLS record sizes remains highly effective, even under realistic attacker assumptions.
  • The study found evidence of pipelining in use for some server IP addresses, indicating that attackers can still exploit this mechanism to infer response sizes.
  • The authors conclude that current deployment levels of pipelining and multiplexing are insufficient to meaningfully prevent response size-based side-channel attacks.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.