REDHAT-BUG-2539354: Low severity Apache Tomcat vulnerability
Improper Authentication vulnerability in Apache Tomcat. When Jakarta Authentication was configured with SimpleAuthConfigProvider as the default provider and multiple web application used that provider, the realm for the first web application to authenticate a request would be used for all web applications.
This issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.25, from 10.1.0-M1 through 10.1.59, from 9.0.0.M4 through 9.0.121.
The following versions were EOL at the time the CVE was created but are known to be affected: from 8.5.0 through 8.5.100. Other unsupported versions may also be affected.
Users are recommended to upgrade to version 11.0.26, 10.1.60, 9.0.122, which fixes the issue.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 11.0.26 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 10.1.60 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 9.0.122
Event History
Frequently Asked Questions
Which deployments are exposed to this issue?
A deployment is affected when Jakarta Authentication is configured with SimpleAuthConfigProvider as the default provider and multiple web applications use that provider. The issue can cause the realm selected by the first application that authenticates a request to be used by the other applications.
What does an attacker need to exploit this vulnerability?
The described condition requires multiple web applications sharing SimpleAuthConfigProvider configured as the default Jakarta Authentication provider. The data does not specify any additional attacker prerequisites or a specific attack method.
Is a default Tomcat installation affected?
The issue depends on Jakarta Authentication being configured with SimpleAuthConfigProvider as the default provider and being used by multiple web applications. The provided information does not state that this configuration is enabled by default.
What versions contain the fix?
Upgrade to Apache Tomcat 11.0.26, 10.1.60, or 9.0.122. Affected supported ranges include releases through 11.0.25, 10.1.59, and 9.0.121; the EOL 8.5.0 through 8.5.100 range is also known to be affected.
How can I determine whether my environment is affected?
Check the Tomcat version and review Jakarta Authentication configuration. Systems in an affected version range need the stated configuration condition: SimpleAuthConfigProvider set as the default provider and used by multiple web applications.