-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                               ESB-2022.0364
          CVE-2022-23181 Apache Tomcat Local Privilege Escalation
                              27 January 2022

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

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           Apache Tomcat
Publisher:         Apache Software Foundation
Operating System:  UNIX variants (UNIX, Linux, OSX)
                   Windows
Impact/Access:     Increased Privileges -- Existing Account
Resolution:        Patch/Upgrade
CVE Names:         CVE-2022-23181  

Original Bulletin: 
   https://lists.apache.org/thread/l8x62p3k19yfcb208jo4zrb83k5mfwg9

- --------------------------BEGIN INCLUDED TEXT--------------------

CVE-2022-23181 Apache Tomcat Local Privilege Escalation

Severity: Low

Vendor: The Apache Software Foundation

Versions Affected:
Apache Tomcat 10.1.0-M1 to 10.1.0-M8
Apache Tomcat 10.0.0-M5 to 10.0.14
Apache Tomcat 9.0.35 to 9.0.56
Apache Tomcat 8.5.55 to 8.5.73

Description:
The fix for bug CVE-2020-9484 introduced a time of check, time of use 
vulnerability that allowed a local attacker to perform actions with the 
privileges of the user that the Tomcat process is using. This issue is 
only exploitable when Tomcat is configured to persist sessions using the 
FileStore.

Mitigation:
Users of the affected versions should apply one of the following
mitigations:
- - Upgrade to Apache Tomcat 10.1.0-M10 or later
- - Upgrade to Apache Tomcat 10.0.16 or later
- - Upgrade to Apache Tomcat 9.0.58 or later
- - Upgrade to Apache Tomcat 8.5.75 or later

Note: This issue was fixed in Apache Tomcat 10.1.0-M9, 10.0.15, 9.0.57 
and 8.5.74 but the release vote for those release candidates did not 
pass. Therefore, although users must download 10.1.0-M10, 10.0.16, 
9.0.58 or 8.5.75 to obtain a version that includes a fix for this issue, 
versions 10.1.0-M9, 10.0.15, 9.0.57 and 8.5.74 are not included in the 
list of affected versions.

History:
2022-01-26 Original advisory

Credit:
This issue was reported to the Apache Tomcat Security team by Trung Pham
of Viettel Cyber Security.

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

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        https://www.auscert.org.au/bulletins/

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQIVAwUBYfH6CONLKJtyKPYoAQj7sg//RTRCLuCotBdMgAWDh9gLvlhzhuh9Cw+1
SEv8SdAcIv4alFjs1+NXcJ1pxc4Jf1c8GLckDMQb9Yaa74VXAZcQvFSTZPcMs6zD
wb3VTT8Ua0BT+tI3BwLt1oEAHmoKmAi9nD3vWkNEldD2vlZUX8wWuoaaTss6Mfmg
MjnDPU74zyY0lqrw7IlTBj9NMjTwOhI38UNCe2sv8Jw6kNQBdQLee4pwyzKfToS1
ik/q7mw/8Gi0PoH9kfJHt5zqR8JofYZ1s3CBA2jvaSmCJrdJ8CbAGjg/I5jqBZIS
z072uH+e5ExCG7Z1Ak9XEsCUMpEb4HYvD8P6QAcmsO89zRoA3ZP9vqG2RrR4XDmM
6ZqyAwnMzhRXsrIukn6sBBlmj5lIB21M0bTDcETjJk/t0gTSpsrB+wOoyjZ+GurT
QzZRz1B4pmaFysqwWHpbbUvCyfiBVn2jcvoKtf+e8rX10aLD8uWyBMhaQLX9eDp3
gE14YUkBMNYDHVqVgyrcBWWX6gwnYC0fghmIBjoI4mlx4VsISek+c/OXZMRata9t
QX0ibqq2LuCqkFgZaPPOLTJhSESEP8eu/KnMBFJNhVbgQlrT40eWsVQMDhue9TxL
EVUeio+57HBouimC31Z1LRYzIng0/xPtj+3R54L0t4Lf5xGbzrJ46LP9XIGvI0ef
ehNmFJc9rTo=
=Iz/l
-----END PGP SIGNATURE-----