QID 150687

Date Published: 2023-05-29

QID 150687: Apache Tomcat FileUpload Denial Of Service (DoS) Vulnerability (CVE-2023-24998)

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

Apache Tomcat uses a packaged renamed copy of Apache Commons FileUpload to provide the file upload functionality defined in the Jakarta Servlet specification. Apache Tomcat was, therefore, also vulnerable to the Apache Commons FileUpload vulnerability CVE-2023-24998 as there was no limit to the number of request parts processed. This resulted in the possibility of an attacker triggering a DoS with a malicious upload or series of uploads.

Affected Products:
Apache Tomcat from version 8.5.0 to 8.5.84
Apache Tomcat from version 9.0.0-M1 to 9.0.70
Apache Tomcat from version 10.1.0-M1 to 10.1.4
Apache Tomcat version 11.0.0-M1

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 the vulnerability can allow an attacker to trigger a DoS via malicious upload or series of uploads

  • CVSS V3 rated as High - 7.5 severity.
  • CVSS V2 rated as High - 7.8 severity.
  • Solution
    Upgrade to the Apache Tomcat to the latest version of Apache Tomcat. Please refer to Apache Tomcat 8 Security, Apache Tomcat 9 Security, Apache Tomcat 10 Security, Apache Tomcat 11 Security.

    CVEs related to QID 150687

    Software Advisories
    Advisory ID Software Component Link
    Apache Tomcat Downloads URL Logo tomcat.apache.org/whichversion.html