Skip to content
DoS Write-up Intermediate

Traefik | Version Through 3.7.11

Traefik's request read timeout, enabled by default, was not applied to HTTP/3 connections because the timeout was set as a TCP deadline that cannot affect QUIC streams. An unauthenticated remote attacker could hold requests open indefinitely, occupying one upstream connection per request and denying service to legitimate traffic.

bishopfox.com

Published on bishopfox.com

The following document describes an identified vulnerability in the Traefik reverse proxy up to and including version 3.7.11.

The author, on bishopfox.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

The request read timeout was implemented as a deadline on the underlying TCP connection, which has no effect on HTTP/3's QUIC streams, and the HTTP/3 server was constructed without any timeout of its own.

Impact

An unauthenticated remote attacker could hold requests open indefinitely over HTTP/3, occupying one upstream connection per request and potentially denying service to legitimate traffic; the traffic remains well formed and low in volume, so rate-based defences are unlikely to detect it.

What the attacker needed

Traefik exposed over HTTP/3; Backend reads request body before responding; No authentication required

The fix

The vulnerability was fixed in versions 2.11.56 and 3.7.12.

How it was found

  1. Set up Traefik with a backend that reads the request body before responding.
  2. Send a slow upload over HTTP/1.1 that holds longer than the configured timeout.
  3. Observe that the upstream connection is released at the configured timeout value.
  4. Send the same slow upload over HTTP/3.
  5. Observe that the upstream connection remains held for the full duration of the upload, beyond the timeout.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

A reverse proxy sits in front of web servers and forwards requests to them. Traefik has a setting that should stop a client from taking too long to send a request, but that setting only worked for older HTTP versions and was silently ignored for the newer HTTP/3. An attacker could therefore keep many connections open for as long as they liked, using up the proxy's capacity so real users could not get through.

What is DoS?

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.

Similar reports

View all

Same bug class and techniques, clearest first.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.