ESB-2018.1112 - [Win][UNIX/Linux] Apache Solr: Access confidential data - Remote/unauthenticated 2018-04-12

Printable version
PGP/GPG verifiable version

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

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

                               ESB-2018.1112
           CVE-2018-1308: XXE attack through Apache Solr's DIH's
                       dataConfig request parameter
                               12 April 2018

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

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

Product:           Apache Solr
Publisher:         The Apache Software Foundation
Operating System:  UNIX variants (UNIX, Linux, OSX)
                   Windows
Impact/Access:     Access Confidential Data -- Remote/Unauthenticated
Resolution:        Patch/Upgrade
CVE Names:         CVE-2018-1308  

Original Bulletin: 
   https://mail-archives.apache.org/mod_mbox/www-announce/201804.mbox/%3C000001d3cf68%245ac69af0%241053d0d0%24%40apache.org%3E

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

CVE-2018-1308: XXE attack through Apache Solr's DIH's dataConfig request parameter

Severity: Major

Vendor:
The Apache Software Foundation

Versions Affected:
Solr 1.2 to 6.6.2
Solr 7.0.0 to 7.2.1

Description:
The details of this vulnerability were reported to the Apache Security mailing list. 

This vulnerability relates to an XML external entity expansion (XXE) in the
`&dataConfig=<inlinexml>` parameter of Solr's DataImportHandler. It can be
used as XXE using file/ftp/http protocols in order to read arbitrary local
files from the Solr server or the internal network. See [1] for more details.

Mitigation:
Users are advised to upgrade to either Solr 6.6.3 or Solr 7.3.0 releases both
of which address the vulnerability. Once upgrade is complete, no other steps
are required. Those releases disable external entities in anonymous XML files
passed through this request parameter. 

If users are unable to upgrade to Solr 6.6.3 or Solr 7.3.0 then they are
advised to disable data import handler in their solrconfig.xml file and
restart their Solr instances. Alternatively, if Solr instances are only used
locally without access to public internet, the vulnerability cannot be used
directly, so it may not be required to update, and instead reverse proxies or
Solr client applications should be guarded to not allow end users to inject
`dataConfig` request parameters. Please refer to [2] on how to correctly
secure Solr servers.

Credit:
Mai XinagNongYu

References:
[1] https://issues.apache.org/jira/browse/SOLR-11971
[2] https://wiki.apache.org/solr/SolrSecurity

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

iQIVAwUBWs6YY4x+lLeg9Ub1AQgW1A/9HT9Q2C939WwuvZIgbf5zsHFOGuqfd1SH
GLqXYt/gVK4q0GYhzPF17zoIgmCpIcQYFquCMSdTzk9PPxRBtgShUqpJYge/su6n
Evx29xx2lAKyfMmLr/FmWfhufhFijSKgti6mCtbDwjLKVjzENOhFH9khSqy+53f1
fWqbBjpbO03Gz4nMaPLx2pWAVdzX3xH3VjDJxDOZ7srQyl7mT9QlHjwT2wbGoGUz
oF2wzyXKYloL22g2fLN24slPxKZg+Bs+ABaRiuQ5xt9GpAPrVxO4j1Yi7Z0vnuRm
ah/nKAUZTIvHRbcE3j2oFNODKEyOPbOMva5oSy1q13WnmLLeV8XfNAIgDOEq5sgU
vnca5RZiDZAqCeGqV/KlCqYUie0LIS1KieAVh+/7CzthzOrV9xLqFpJUz/sVFE2E
91jXjTT7SRWr/YypVx13iAzYkBvTdeZSDErUqoIG2z689Si+qelTGxBB3uSIMDhi
pD1uRgds7Qb68p7mjV+WHZfM6K2LJn2mapGXLO9WS/SuNff/gum5opXO4rS9apN+
6sbp1T3bc3agyhqb65dGz6kFIi3eybrPkLBKwrldBa9pJj5HAkRyiR0G4tAjxjpq
buwnkXuB+hJLWbbrE1r2CjaU1dFKWlYqYcok2Yl61/OBIleqkHU4eeq6cBE+gIVs
xX10FS5BNW8=
=YZ5/
-----END PGP SIGNATURE-----

« Back to bulletins