ESB-2017.2723 - [Win][UNIX/Linux] Apache Solr: Execute arbitrary code/commands - Remote with user interaction 2017-10-27

Printable version
PGP/GPG verifiable version

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

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

                               ESB-2017.2723
   CVE-2016-6809: Java code execution for serialized objects embedded in
               MATLAB files parsed by Apache Solr using Tika
                              27 October 2017

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

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

Product:           Apache Solr
Publisher:         Apache
Operating System:  Windows
                   UNIX variants (UNIX, Linux, OSX)
Impact/Access:     Execute Arbitrary Code/Commands -- Remote with User Interaction
Resolution:        Patch/Upgrade
CVE Names:         CVE-2016-6809  

Original Bulletin: 
   http://lucene.472066.n3.nabble.com/CVE-2016-6809-Java-code-execution-for-serialized-objects-embedded-in-MATLAB-files-parsed-by-Apache-Sa-td4360650.html

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

CVE-2016-6809: Java code execution for serialized objects embedded in
MATLAB files parsed by Apache Solr using Tika

Severity: Important

Vendor:
The Apache Software Foundation

Versions Affected:
Solr 5.0.0 to 5.5.4
Solr 6.0.0 to 6.6.1
Solr 7.0.0 to 7.0.1

Description:

Apache Solr uses Apache Tika for parsing binary file types such as
doc, xls, pdf etc. Apache Tika wraps the jmatio parser
(https://github.com/gradusnikov/jmatio) to handle MATLAB files. The
parser uses native deserialization on serialized Java objects embedded
in MATLAB files. A malicious user could inject arbitrary code into a
MATLAB file that would be executed when the object is deserialized.

This vulnerability was originally described at
http://mail-archives.apache.org/mod_mbox/tika-user/201611.mbox/%3C2125912914.1308916.1478787314903%40mail.yahoo.com%3E

Mitigation:
Users are advised to upgrade to either Solr 5.5.5 or Solr 6.6.2 or Solr 7.1.0
releases which have fixed this vulnerability.

Solr 5.5.5 upgrades the jmatio parser to v1.2 and disables the Java
deserialisation support to protect against this vulnerability.

Solr 6.6.2 and Solr 7.1.0 have upgraded the bundled Tika to v1.16.

Once upgrade is complete, no other steps are required.

References:
https://issues.apache.org/jira/browse/SOLR-11486
https://issues.apache.org/jira/browse/SOLR-10335
https://wiki.apache.org/solr/SolrSecurity

- -- 
Regards,
Shalin Shekhar Mangar.

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

iQIVAwUBWfKe44x+lLeg9Ub1AQg/nRAAmXrxTicPsENfDMVrj/a9cwb3T8OP7/O/
mJHNe2cj4janvB+tQ6ABiGthfPoPwfYczB/mYapEVwYsbvg8hO3uH614iI0imIsm
S6sO0sa2KE4L9E2n9XFvbfhIhirgo1lMkG2wZWF/vQGZW7cxmyGEZD15nXHm7ohs
ah2Jk675yTiZrXE42J6D2YqmW/D+EMmAYaEd3qXeVOmAbqWPGVtd5t1jqnjkmoGf
daOR+IFCHTr+sPy50OXSix5RH1Pj/jCtz0v4R08Y6qsnJBZgx5JuOaF6iSv1fY0K
KB9XSanqMwtcoZ5Cam4ncq8jdWi2qeDfhqmHxY56D+5R1I+7MRCj84kUzxjoUROv
jiqdAEqmkc1qlKNrOnxIX4u7Vdp1pHDrlPD77yaBDZv7QAfkLtPyqxkLPkUv3Lei
WknSvvYNA6B8G89YFYPAS+olicyeOycvNag1e2TsGu1YzdhypeyVli9kIdbMh4AS
+uUjD9O8lNqfKKLyp0ifSB4plS6JOGQD0Z9NTCd+QXXsJo4CldsPqpgJ1mWKLbxH
CXKC6KbJpjgh2L0nQLKKtnqz9KgNToEUVeUaPqvspqmngB+yfyGedgxJy7odXScz
YYV0S8R9en9Rh7CEJeD9v7n3B1ihXPtzRuY3liawD28ls5d95QeGwV+kC5y0E2ae
sto4UtSbhbI=
=e9ZM
-----END PGP SIGNATURE-----

« Back to bulletins