QID 730141

Date Published: 2021-07-19

QID 730141: Apache Tomcat HTTP Request Smuggling Vulnerability (CVE-2021-33037)

Apache Tomcat is an open source web server and servlet container developed by the Apache Software Foundation.

Apache Tomcat did not correctly parse the HTTP transfer-encoding request header in some circumstances leading to the possibility to request smuggling when used with a reverse proxy.

Affected Versions:
Apache Tomcat 10.0.0-M1 to 10.0.6
Apache Tomcat 9.0.0.M1 to 9.0.46
Apache Tomcat 8.5.0 to 8.5.66

QID Detection Logic (Unauthenticated):
The QID checks for vulnerable version by sending a GET /QUALYS730141 HTTP/1.0 request which helps in retrieving the installed version of Apache Tomcat in the banner of the response.

Tomcat incorrectly ignored the transfer-encoding header if the client declared it would only accept an HTTP/1.0 response. Tomcat honored the identify encoding, and Tomcat did not ensure that, if present, the chunked encoding was the final encoding.

  • CVSS V3 rated as Medium - 5.3 severity.
  • CVSS V2 rated as Medium - 5 severity.
  • Solution
    Upgrade to the Apache Tomcat 10.0.7, 9.0.48 , 8.5.68 versions or to the latest version of Apache Tomcat. Please refer to Apache Tomcat Security Advisory.

    CVEs related to QID 730141

    Software Advisories
    Advisory ID Software Component Link
    Apache_Tomcat_10.0.7 URL Logo tomcat.apache.org/security-10.html#Fixed_in_Apache_Tomcat_10.0.7