Apache Tomcat: Security constraint bypass with HTTP/0.9
Apache Software Foundation Apache Tomcat
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| org.apache.tomcat:tomcat-coyote Maven |
|
|
Apache Software Foundation Apache Tomcat
| Product | Affected | Fixed in |
|---|---|---|
| org.apache.tomcat:tomcat-coyote Maven |
|
|
Improper Input Validation vulnerability in Apache Tomcat.
Tomcat did not limit HTTP/0.9 requests to the GET method. If a security constraint was configured to allow HEAD requests to a URI but deny GET requests, the user could bypass that constraint on GET requests by sending a (specification invalid) HEAD request using HTTP/0.9.
This issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.14, from 10.1.0-M1 through 10.1.49, from 9.0.0.M1 through 9.0.112.
Older, EOL versions are also affected.
Users are recommended to upgrade to version 11.0.15 or later, 10.1.50 or later or 9.0.113 or later, which fixes the issue.
From the CVE record · apache
Apache Tomcat accepts HTTP/0.9 HEAD requests even though HTTP/0.9 permits only GET. A requester can bypass a security constraint that allows HEAD but denies GET for a URI by sending an invalid HTTP/0.9 HEAD request.
Check Apache Tomcat installations running 11.0.0-M1 through 11.0.14, 10.1.0-M1 through 10.1.49, 9.0.0.M1 through 9.0.112, or older end-of-life versions, including applications using the affected tomcat-coyote package.