QID 150729

Date Published: 2023-10-12

QID 150729: Apache Tomcat Denial of Service (DoS) Vulnerability (CVE-2023-42794)

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

Apache Tomcat's internal fork of a Commons FileUpload included an unreleased, in progress refactoring that exposed a potential denial of service on Windows if a web application opened a stream for an uploaded file but failed to close the stream. The file would never be deleted from disk creating the possibility of an eventual denial of service due to the disk being full.

Affected Versions:
Apache Tomcat 9.0.70 to 9.0.80
Apache Tomcat 8.5.85 to 8.5.93

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.

Successful exploitation of this vulnerability could result in Denial of Service (DoS) attack due to incomplete cleanup of the disk.

  • CVSS V3 rated as High - 7.5 severity.
  • CVSS V2 rated as Medium - 5 severity.
  • Solution
    Customers are advised to upgrade relevant versions of Apache Tomcat:

    Apache Tomcat 9.0.81 or later
    Apache Tomcat 8.5.94 or later

    For more information on this vulnerability please refer Apache Tomcat 8 Security Advisory and Apache Tomcat 9 Security Advisory.

    CVEs related to QID 150729

    Software Advisories
    Advisory ID Software Component Link
    Apache Tomcat 8 URL Logo tomcat.apache.org/security-8.html#Fixed_in_Apache_Tomcat_8.5.94
    Apache Tomcat 9 URL Logo tomcat.apache.org/security-9.html#Fixed_in_Apache_Tomcat_9.0.81