CVE-2017-5664

Description

The error page mechanism of the Java Servlet Specification requires that, when an error occurs and an error page is configured for the error that occurred, the original request and response are forwarded to the error page. This means that the request is presented to the error page with the original HTTP method. If the error page is a static file, expected behaviour is to serve content of the file as if processing a GET request, regardless of the actual HTTP method. The Default Servlet in Apache Tomcat 9.0.0.M1 to 9.0.0.M20, 8.5.0 to 8.5.14, 8.0.0.RC1 to 8.0.43 and 7.0.0 to 7.0.77 did not do this. Depending on the original request this could lead to unexpected and undesirable results for static error pages including, if the DefaultServlet is configured to permit writes, the replacement or removal of the custom error page. Notes for other user provided error pages: (1) Unless explicitly coded otherwise, JSPs ignore the HTTP method. JSPs used as error pages must must ensure that they handle any error dispatch as a GET request, regardless of the actual method. (2) By default, the response generated by a Servlet does depend on the HTTP method. Custom Servlets used as error pages must ensure that they handle any error dispatch as a GET request, regardless of the actual method.

Risk Information

Base Score
7.5
MODERATE
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS Score
Exploitation Probability
10.351

Associated Vulnerability

VulnerabilityOS Platform
Update Tomcat to 9.5.14Windows
Update Tomcat to 9.5.5Windows
Update Tomcat to 9.5.7Windows
Update Tomcat to 9.5.8Windows
Update Tomcat to 9.6.10Windows
Update Tomcat to 9.6.3Windows
Update Tomcat to 9.6.4Windows
Update Tomcat to 9.6.7Windows
Update Tomcat to 9.6.8Windows
Update Tomcat to 2.4.5Windows
Update Tomcat to 3.0.14Windows
Vulnerabilities CVE-2017-5664 are fixed in Apache - tomcat 9.0.0Windows
Vulnerabilities CVE-2017-5664 are fixed in Apache - tomcat 8.5.15Windows
Vulnerabilities CVE-2017-5664 are fixed in Apache - tomcat 8.0.44Windows
Vulnerabilities CVE-2017-5664 are fixed in Apache - tomcat 7.0.78Windows
Servlet and JSP engine (USN-3519-1) tomcat7_7.0.52-1ubuntu0.13_all.debLinux
Servlet and JSP engine (USN-3519-1) tomcat8_8.0.32-1ubuntu1.5_all.debLinux
Servlet and JSP engine (USN-3519-1) tomcat8_8.0.38-2ubuntu2.2_all.debLinux
Servlet and JSP engine (USN-3519-1) libtomcat7-java_7.0.52-1ubuntu0.13_all.debLinux
Servlet and JSP engine (USN-3519-1) libtomcat8-java_8.0.32-1ubuntu1.5_all.debLinux
Servlet and JSP engine (USN-3519-1) libtomcat8-java_8.0.38-2ubuntu2.2_all.debLinux
tomcat8 security update(DSA-3891-1) tomcat8_8.0.14-1+deb8u10_all.debLinux
Tomcat6 security update (CESA-2016:2045) tomcat6-6.0.24-111.el6_9.noarch.rpmLinux
Tomcat6 security update (CESA-2016:2045) tomcat6-lib-6.0.24-111.el6_9.noarch.rpmLinux
Tomcat6 security update (CESA-2016:2045) tomcat6-javadoc-6.0.24-111.el6_9.noarch.rpmLinux
Tomcat6 security update (CESA-2016:2045) tomcat6-webapps-6.0.24-111.el6_9.noarch.rpmLinux
Tomcat6 security update (CESA-2016:2045) tomcat6-el-2.1-api-6.0.24-111.el6_9.noarch.rpmLinux
Tomcat6 security update (CESA-2016:2045) tomcat6-docs-webapp-6.0.24-111.el6_9.noarch.rpmLinux
Tomcat6 security update (CESA-2016:2045) tomcat6-jsp-2.1-api-6.0.24-111.el6_9.noarch.rpmLinux
Tomcat6 security update (CESA-2016:2045) tomcat6-admin-webapps-6.0.24-111.el6_9.noarch.rpmLinux
Tomcat6 security update (CESA-2016:2045) tomcat6-servlet-2.5-api-6.0.24-111.el6_9.noarch.rpmLinux
(RHSA-2017:3080) Important: tomcat6 security update tomcat6-6.0.24-111.el6_9.noarch.rpmLinux
(RHSA-2017:3080) Important: tomcat6 security update tomcat6-admin-webapps-6.0.24-111.el6_9.noarch.rpmLinux
(RHSA-2017:3080) Important: tomcat6 security update tomcat6-docs-webapp-6.0.24-111.el6_9.noarch.rpmLinux
(RHSA-2017:3080) Important: tomcat6 security update tomcat6-javadoc-6.0.24-111.el6_9.noarch.rpmLinux
(RHSA-2017:3080) Important: tomcat6 security update tomcat6-lib-6.0.24-111.el6_9.noarch.rpmLinux
(RHSA-2017:3080) Important: tomcat6 security update tomcat6-webapps-6.0.24-111.el6_9.noarch.rpmLinux
SUSE-SU-2018:1847-1(SUSE Linux Enterprise Server 11-SP4 ) tomcat6-6.0.53-0.57.7.1.noarch.rpmLinux
SUSE-SU-2018:1847-1(SUSE Linux Enterprise Server 11-SP4 ) tomcat6-admin-webapps-6.0.53-0.57.7.1.noarch.rpmLinux
SUSE-SU-2018:1847-1(SUSE Linux Enterprise Server 11-SP4 ) tomcat6-docs-webapp-6.0.53-0.57.7.1.noarch.rpmLinux
SUSE-SU-2018:1847-1(SUSE Linux Enterprise Server 11-SP4 ) tomcat6-javadoc-6.0.53-0.57.7.1.noarch.rpmLinux
SUSE-SU-2018:1847-1(SUSE Linux Enterprise Server 11-SP4 ) tomcat6-jsp-2_1-api-6.0.53-0.57.7.1.noarch.rpmLinux
SUSE-SU-2018:1847-1(SUSE Linux Enterprise Server 11-SP4 ) tomcat6-lib-6.0.53-0.57.7.1.noarch.rpmLinux
SUSE-SU-2018:1847-1(SUSE Linux Enterprise Server 11-SP4 ) tomcat6-servlet-2_5-api-6.0.53-0.57.7.1.noarch.rpmLinux
SUSE-SU-2018:1847-1(SUSE Linux Enterprise Server 11-SP4 ) tomcat6-webapps-6.0.53-0.57.7.1.noarch.rpmLinux
(RHSA-2017:3080) tomcat6 security update tomcat6-el-2.1-api-6.0.24-111.el6_9.noarch.rpmLinux
(RHSA-2017:3080) tomcat6 security update tomcat6-jsp-2.1-api-6.0.24-111.el6_9.noarch.rpmLinux
(RHSA-2017:3080) tomcat6 security update tomcat6-servlet-2.5-api-6.0.24-111.el6_9.noarch.rpmLinux
Update Tomcat to 9.5.14 (For Linux)Linux
Update Tomcat to 9.5.5 (For Linux)Linux
Update Tomcat to 9.5.7 (For Linux)Linux
Update Tomcat to 9.5.8 (For Linux)Linux
Update Tomcat to 9.6.10 (For Linux)Linux
Update Tomcat to 9.6.3 (For Linux)Linux
Update Tomcat to 9.6.4 (For Linux)Linux
Update Tomcat to 9.6.7 (For Linux)Linux
Update Tomcat to 9.6.8 (For Linux)Linux
Update Tomcat to 2.4.5 (For Linux)Linux
Update Tomcat to 3.0.14 (For Linux)Linux
Vulnerabilities CVE-2017-5664 are fixed in Apache - tomcat for Linux 9.0.0Linux
Vulnerabilities CVE-2017-5664 are fixed in Apache - tomcat for Linux 8.5.15Linux
Vulnerabilities CVE-2017-5664 are fixed in Apache - tomcat for Linux 8.0.44Linux
Vulnerabilities CVE-2017-5664 are fixed in Apache - tomcat for Linux 7.0.78Linux
Improper Handling of Exceptional Conditions Vulnerability (CVE-2017-5664)NCM

Patch Details

No records found

References

https://nvd.nist.gov/vuln/detail/CVE-2023-1234
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1234