If Apache Tomcat 8.5.0 to 8.5.82, 9.0.0-M1 to 9.0.67, 10.0.0-M1 to 10.0.26 or 10.1.0-M1 to 10.1.0 was configured to ignore invalid HTTP headers via setting rejectIllegalHeader to false (the default for 8.5.x only), Tomcat did not reject a request containing an invalid Content-Length header making a request smuggling attack possible if Tomcat was located behind a reverse proxy that also failed to reject the request with the invalid header.
The product acts as an intermediary HTTP agent (such as a proxy or firewall) in the data flow between two entities such as a client and server, but it does not interpret malformed HTTP requests or responses in ways that are consistent with how the messages will be processed by those entities that are at the ultimate destination.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Tomcat | Apache | 8.5.0 (including) | 8.5.83 (excluding) |
Tomcat | Apache | 9.0.0 (including) | 9.0.68 (excluding) |
Tomcat | Apache | 10.0.0 (including) | 10.0.27 (excluding) |
Tomcat | Apache | 10.1.0 (including) | 10.1.1 (excluding) |
Red Hat JBoss Web Server 5 | RedHat | jws5-tomcat | * |
Red Hat JBoss Web Server 5.7 on RHEL 7 | RedHat | jws5-tomcat-0:9.0.62-13.redhat_00011.1.el7jws | * |
Red Hat JBoss Web Server 5.7 on RHEL 8 | RedHat | jws5-tomcat-0:9.0.62-13.redhat_00011.1.el8jws | * |
Red Hat JBoss Web Server 5.7 on RHEL 9 | RedHat | jws5-tomcat-0:9.0.62-13.redhat_00011.1.el9jws | * |
Tomcat6 | Ubuntu | trusty | * |
Tomcat6 | Ubuntu | xenial | * |
Tomcat7 | Ubuntu | bionic | * |
Tomcat7 | Ubuntu | trusty | * |
Tomcat7 | Ubuntu | xenial | * |
Tomcat8 | Ubuntu | bionic | * |
Tomcat8 | Ubuntu | esm-apps/bionic | * |
Tomcat8 | Ubuntu | upstream | * |
Tomcat8 | Ubuntu | xenial | * |
Tomcat9 | Ubuntu | bionic | * |
Tomcat9 | Ubuntu | esm-apps/bionic | * |
Tomcat9 | Ubuntu | esm-apps/jammy | * |
Tomcat9 | Ubuntu | focal | * |
Tomcat9 | Ubuntu | jammy | * |
Tomcat9 | Ubuntu | kinetic | * |
Tomcat9 | Ubuntu | lunar | * |
Tomcat9 | Ubuntu | upstream | * |
HTTP requests or responses (“messages”) can be malformed or unexpected in ways that cause web servers or clients to interpret the messages in different ways than intermediary HTTP agents such as load balancers, reverse proxies, web caching proxies, application firewalls, etc. For example, an adversary may be able to add duplicate or different header fields that a client or server might interpret as one set of messages, whereas the intermediary might interpret the same sequence of bytes as a different set of messages. For example, discrepancies can arise in how to handle duplicate headers like two Transfer-encoding (TE) or two Content-length (CL), or the malicious HTTP message will have different headers for TE and CL. The inconsistent parsing and interpretation of messages can allow the adversary to “smuggle” a message to the client/server without the intermediary being aware of it. This weakness is usually the result of the usage of outdated or incompatible HTTP protocol versions in the HTTP agents.