Apache Tomcat: Limited replay attack possible with DIGEST authentication
Apache Software Foundation Apache Tomcat
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| org.apache.tomcat:tomcat Maven |
|
|
Apache Software Foundation Apache Tomcat
| Product | Affected | Fixed in |
|---|---|---|
| org.apache.tomcat:tomcat Maven |
|
|
| org.apache.tomcat.embed:tomcat-embed-core Maven |
|
|
| org.apache.tomcat:tomcat-catalina Maven |
|
|
Authentication Bypass by Capture-replay vulnerability in Apache Tomcat's DIGEST authenticator. If, before windowSize requests have been made, a client makes a DIGEST authenticated request with a nonceCount on the upper boundary of the replay window then that request is replayable once only while the associated nonceCount remains within the replay window.
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.
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, from 7.0.30 through 7.0.109. Other unsupported versions may also be affected.
Users are recommended to upgrade to version 11.0.25, 10.1.58 or 9.0.121, which fix the issue.
From the CVE record · apache
Apache Tomcat's DIGEST authenticator can allow a DIGEST-authenticated request to be replayed once. This occurs when the request uses a nonceCount at the upper boundary of the replay window before windowSize requests have been made, and that nonceCount remains within the window. The input does not specify attacker authentication or user-interaction requirements.
Operators of Apache Tomcat or the Maven packages org.apache.tomcat:tomcat, org.apache.tomcat.embed:tomcat-embed-core, and org.apache.tomcat:tomcat-catalina should check versions 11.0.0-M1–11.0.24, 10.1.0-M1–10.1.57, 9.0.0.M1–9.0.120, and the affected EOL ranges 8.5.0–8.5.100 and 7.0.30–7.0.109.