Improper Access Control, Incorrect Authorization vulnerability in Apache Tomcat leads to security constraint bypass if a constraint for a longer path is specified before a more restrictive constraint for a shorter sub-path.
This issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.24, from 10.1.0-M1 through 10.1.57, from 9.0.0.M1 through 9.0.120, from 8.5.0 through 8.5.100, from 7.0.0 through 7.0.109.
Users are recommended to upgrade to version 11.0.25, 10.1.58, 9.0.121, which fixes the issue.
The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.
| Name | Vendor | Start Version | End Version |
|---|---|---|---|
| Tomcat | Apache | 7.0.0 (including) | 7.0.109 (including) |
| Tomcat | Apache | 8.5.0 (including) | 9.0.121 (excluding) |
| Tomcat | Apache | 10.1.0 (including) | 10.1.58 (excluding) |
| Tomcat | Apache | 11.0.0 (including) | 11.0.25 (excluding) |
| Red Hat Hardened Images | RedHat | tomcat11-main-11.0.25-0.1.hum1 | * |
| Red Hat Hardened Images | RedHat | tomcat10-main-10.1.59-0.1.hum1 | * |
| Tomcat6 | Ubuntu | upstream | * |
| Tomcat7 | Ubuntu | upstream | * |
| Tomcat8 | Ubuntu | upstream | * |
Access control involves the use of several protection mechanisms such as:
When any mechanism is not applied or otherwise fails, attackers can compromise the security of the product by gaining privileges, reading sensitive information, executing commands, evading detection, etc. There are two distinct behaviors that can introduce access control weaknesses: