ADVISORIES

GitHub Advisory Database

GHSA-6x9x-8qw9-9pp6

Jetty vulnerable to authorization bypass due to inconsistent HTTP request handling (HTTP Request Smuggling)

Critical CVE-2017-7658

Details

Eclipse Jetty Server versions 9.2.x and older, 9.3.x (all non HTTP/1.x configurations), and 9.4.x (all HTTP/1.x configurations), are vulnerable to HTTP Request Smuggling when presented with two content-lengths headers, allowing authorization bypass. When presented with a content-length and a chunked encoding header, the content-length was ignored (as per RFC 2616). If an intermediary decides on the shorter length, but still passes on the longer body, then body content could be interpreted by Jetty as a pipelined request. If the intermediary is imposing authorization, the fake pipelined request bypasses that authorization.

Affected packages

EcosystemPackageAffected versions
Mavenorg.eclipse.jetty:jetty-server
All versions before 9.2.25.v20180606 (fixed in 9.2.25.v20180606)
Mavenorg.eclipse.jetty:jetty-server
From 9.3.0 before 9.3.24.v20180605 (fixed in 9.3.24.v20180605)
Mavenorg.eclipse.jetty:jetty-server
From 9.4.0 before 9.4.11.v20180605 (fixed in 9.4.11.v20180605)

References