ESB-2018.3055 - [Win][UNIX/Linux] Apache Tika: Denial of service - Remote/unauthenticated 2018-10-10

Printable version
PGP/GPG verifiable version

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

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

                               ESB-2018.3055
   Apache Tika Denial of Service via XML Entity Expansion Vulnerability
                              10 October 2018

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

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

Product:           Apache Tika
Publisher:         The Apache Software Foundation
Operating System:  UNIX variants (UNIX, Linux, OSX)
                   Windows
Impact/Access:     Denial of Service -- Remote/Unauthenticated
Resolution:        Patch/Upgrade
CVE Names:         CVE-2018-11796  

Original Bulletin: 
   https://lists.apache.org/thread.html/88de8350cda9b184888ec294c813c5bd8a2081de8fd3666f8904bc05@%3Cdev.tika.apache.org%3E

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

CVE-2018-11796: Apache Tika Denial of Service via XML Entity Expansion
Vulnerability

Severity: Medium

Vendor:
The Apache Software Foundation

Versions Affected:
Apache Tika 0.1 to 1.19

Description:
In Apache Tika 1.19 (CVE-2018-11761), we added an entity expansion
limit for XML parsing.  However, Tika reuses SAXParsers and calls
reset() after each parse, which, for Xerces2 parsers, as per the
documentation, removes the user-specified SecurityManager and
thus removes entity expansion limits after the first parse.
Apache Tika 1.19 is therefore still vulnerable to entity
expansions which can lead to a denial of service attack.

Mitigation:
Apache Tika users should upgrade to 1.19.1 or later

Credit:
This issue was discovered by Slava Gorelik of CloudAlly.

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

iQIVAwUBW71nhGaOgq3Tt24GAQi4EhAAyxTdTox1nm29RPvLLqNz3o6sugWRWaQg
YpCUIKuTOpw5i4RJN0owL/lrIo7sBwpVwbdsodfrdYQj0Z71USQ1JidQ/ek0XiPJ
6vjmJYrlfIyCk46rwWFBcWAngVQUOcQjjx8c2K9nXkK7U2aQP/T5RrAbFHAMwGZT
gNKK3jRIssqeyp6eHm4ouldFtc5XIfOj4yzlI29aUQH+nD0us8kMgsjnU5RpEG+A
LulxArv/DAw17dH6Nu7Xr63CU18Ooscg3v6/miRgvF8I5rpV2uWd04zgpOqju2BZ
S/dezdROipGdpfuazOAPszPfmfgzhl1fSlnfAYU+UPwFSB5p2fQyi11U9AFKlINM
SG6HqLmLbeEWwhpYnqH9dBXH9O7pEPyZLSXvbnwb4sm+w9mR12kWM8KQBUemTX6C
7xGw5wBT665pxmi9t6WIsyAOjWhoKQBSzGnp8DKfDoiAMu2/KodiBqR0HniRrQgX
HVByGeiWtrDLWGko/HM8BbErtFjkvAlBdY3OAxbN/0oCX9xiTU7Hyap5vTblUMfs
dvbuJDSE2rK6qZMV94A0ZDO+yXIr6pd+78ZZGkdOfO+C5oHD1fvIs4iQPAyh7QJr
vzU9zZPBPK+typJe3lGkcZdMa3zp7uWfF3BT9BQzP9iNj9LLg092MBf6tQdXXsNt
Lx6ljSnenEM=
=1uFX
-----END PGP SIGNATURE-----

« Back to bulletins