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

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

                               ESB-2017.2487
       [Security] Apache Tomcat Remote Code Execution via JSP Upload
                              4 October 2017

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

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

Product:          Apache Tomcat
Publisher:        Apache
Operating System: UNIX variants (UNIX, Linux, OSX)
                  Windows
Impact/Access:    Create Arbitrary Files -- Remote/Unauthenticated
Resolution:       Patch/Upgrade
CVE Names:        CVE-2017-12617  

Comment: This advisory references vulnerabilities in products which run on 
         platforms other than Apache. It is recommended that administrators 
         running Apache Tomcat check for an updated version of the software 
         for their operating system.

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

CVE-2017-12617 Apache Tomcat Remote Code Execution via JSP Upload

Severity: Important

Vendor: The Apache Software Foundation

Versions Affected:
Apache Tomcat 9.0.0.M1 to 9.0.0
Apache Tomcat 8.5.0 to 8.5.22
Apache Tomcat 8.0.0.RC1 to 8.0.46
Apache Tomcat 7.0.0 to 7.0.81

Description:
When running with HTTP PUTs enabled (e.g. via setting the readonly
initialisation parameter of the Default servlet to false) it was
possible to upload a JSP file to the server via a specially crafted
request. This JSP could then be requested and any code it contained
would be executed by the server.

Mitigation:
Users of the affected versions should apply one of the following
mitigations:
- - Upgrade to Apache Tomcat 9.0.1 or later
- - Upgrade to Apache Tomcat 8.5.23 or later
- - Upgrade to Apache Tomcat 8.0.47 or later
- - Upgrade to Apache Tomcat 7.0.82 or later

Credit:
This issue was first reported publicly followed by multiple reports to
the Apache Tomcat Security Team.

History:
2017-10-03 Original advisory

References:
[1] http://tomcat.apache.org/security-9.html
[2] http://tomcat.apache.org/security-8.html
[3] http://tomcat.apache.org/security-7.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:

        http://www.auscert.org.au/render.html?cid=1980

===========================================================================
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

iQIVAwUBWdQuYox+lLeg9Ub1AQh0mA/9F4qY27qKutM18CqaUhJffDt+tIIWNbXW
BjGn1AW+Ty+Bo12kYeCipnAwXuuOyVyLRSOyuGfdkJrBtecdk/hIa/KM4IfsLHlK
ad5XsWmBOjtR5KetHl3KpxaoRc/mVVPrZgXCVNlPYupamqnoU4HV/vl8l0808tRR
oiXzOVnx2vfd0UnRT1LlK/+QiPDqm4YeSEwiA+jSEqpECEejgtJc+4oYZMRLHYHx
nhSbe7l3nOOh6SNyolu1RHzewnmf5OySa3bp/RVBd/4y8ilrReoidrIODCGvfMHC
dyVhHGdoHymtgZD8mK7Lr7qoh9yRad8TByOvS7o59h1VovBXMyiJvXoAI7W6fElK
Vn4262mXdqNZAFVQHwr7c3s2EZ1FIv/CKncBvSx8i+1VhJIcwu/XZZ/7pzhv5t1l
hepMAf8U9THKUhjpyadIekHWfP5tdUUrhZ7lsCtuneNZawl/Op22byy88acYYo/L
1ZdlN8ni6LRnQDcOr6O9Rg8dZKLqYHhC2ffVcf/n6Wer+toFPyNPvydgAT+evZ+V
kHctnOk+FN1Zwzhx6yDgTfaVj0RaGqQPN7TAozq3D1/6SqOFSR0QUh1CYFgXpgCA
w5p+gvYDwDurWYWjYPTGVk4El7qsj0T/RTpr5LBD9wVGnzBNNwVhz0hVe9EPTh3v
HT6kxnduHIc=
=PZKX
-----END PGP SIGNATURE-----