Apache SolrGHSA-3pph-2595-cgfh
There is a XML external entity expansion (XXE) vulnerability in Apache Solr
Fix: upgrade to 6.6.3 or later (2 fixed versions below)
This vulnerability in Apache Solr 1.2 to 6.6.2 and 7.0.0 to 7.2.1 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.
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| org.apache.solr:solr-core Maven | >= 1.2, < 6.6.3 | 6.6.3 |
| >= 7.0.0, < 7.3.0 | 7.3.0 |
Details and references
- CVSS 3.0
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Severity from
- GitHub (reviewed advisory)
- Weakness
- CWE-611
- Also known as
- CVE-2018-1308
- nvd.nist.gov/vuln/detail/CVE-2018-1308
- github.com/apache/lucene-solr/commit/3530397f1777332872eac2760f9aa0e2ae1d7450
- github.com/apache/lucene-solr/commit/739a7933
- github.com/apache/lucene-solr/commit/dd3be31f7062dcb2f3b2d7f0e89df29e197dee63
- github.com/advisories/GHSA-3pph-2595-cgfh
- issues.apache.org/jira/browse/SOLR-11971
- lists.apache.org/thread.html/708d94141126eac03011144a971a6411fcac16d9c248d1d535a39451@%3Csolr-user.lucene.apache.org%3E
- lists.debian.org/debian-lts-announce/2018/04/msg00025.html
- mail-archives.apache.org/mod_mbox/www-announce/201804.mbox/%3C000001d3cf68%245ac69af0%241053d0d0%24%40apache.org%3E
- www.debian.org/security/2018/dsa-4194