QID 150532

Date Published: 2022-06-27

QID 150532: Apache Tomcat Request Mix-Up Vulnerability (CVE-2022-25762)

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

In affected versions of Apache Tomcat, If a web application sends a WebSocket message concurrently with the WebSocket connection closing, it is possible that the application will continue to use the socket after it has been closed. The error handling triggered in this case could cause the a pooled object to be placed in the pool twice. This could result in subsequent connections using the same object concurrently which could result in data being returned to the wrong use and/or other errors.

Affected Versions:
Apache Tomcat 9.0.0.M1 to 9.0.20
Apache Tomcat 8.5.0 to 8.5.75

QID Detection Logic (Unauthenticated):
This QID sends a HTTP GET request to a invalid URL and based on the response confirms the vulnerable instance of Apache Tomcat running on the host.

A successful exploit may cause Improper Resource Shutdown

  • CVSS V3 rated as Critical - 8.6 severity.
  • CVSS V2 rated as High - 7.5 severity.
  • Solution
    Customers are advised to upgrade to Apache Tomcat 9.0.21, 8.5.76 or later version to remediate this vulnerability. For more information please refer to Apache Tomcat Security Advisory.

    CVEs related to QID 150532

    Software Advisories
    Advisory ID Software Component Link
    Apache Tomcat URL Logo lists.apache.org/thread/6ckmjfb1k61dyzkto9vm2k5jvt4o7w7c