
====================================================================

                             CERT-Renater

                 Note d'Information No. 2021/VULN028
_____________________________________________________________________

DATE                : 14/01/2021

HARDWARE PLATFORM(S): /

OPERATING SYSTEM(S):  Systems running Apache Tomcat versions prior to
                         10.0.0-M10, 9.0.40, 8.5.60, 7.0.107.

=====================================================================
http://mail-archives.apache.org/mod_mbox/tomcat-announce/202101.mbox/%3cf3765f21-969d-7f21-e34a-efc106175373@apache.org%3e
_____________________________________________________________________


CVE-2021-24122 Apache Tomcat Information Disclosure

Severity: Important

Vendor: The Apache Software Foundation

Versions Affected:
Apache Tomcat 10.0.0-M1 to 10.0.0-M9
Apache Tomcat 9.0.0.M1 to 9.0.39
Apache Tomcat 8.5.0 to 8.5.59
Apache Tomcat 7.0.0 to 7.0.106


Description:

When serving resources from a network location using the NTFS file
system it was possible to bypass security constraints and/or view the
source code for JSPs in some configurations. The root cause was the
unexpected behaviour of the JRE API File.getCanonicalPath() which in
turn was caused by the inconsistent behaviour of the Windows API
(FindFirstFileW) in some circumstances.


Mitigation:

Users of the affected versions should apply one of the following
mitigations:
- Upgrade to Apache Tomcat 10.0.0-M10 or later
- Upgrade to Apache Tomcat 9.0.40 or later
- Upgrade to Apache Tomcat 8.5.60 or later
- Upgrade to Apache Tomcat 7.0.107 or later


Credit:

This issue was identified by Ilja Brander.


History:

2021-01-14 Original advisory

References:

[1] https://tomcat.apache.org/security-10.html
[2] https://tomcat.apache.org/security-9.html
[3] https://tomcat.apache.org/security-8.html
[4] https://tomcat.apache.org/security-7.html


=========================================================
+ CERT-RENATER       |    tel : 01-53-94-20-44          +
+ 23/25 Rue Daviel   |    fax : 01-53-94-20-41          +
+ 75013 Paris        |    email:cert@support.renater.fr +
=========================================================




