CVE-2018-8010
There is a XML external entity expansion (XXE) vulnerability in Apache Solr config files
Description
This vulnerability in Apache Solr 6.0.0 to 6.6.3, 7.0.0 to 7.3.0 relates to an XML external entity expansion (XXE) in Solr config files (solrconfig.xml, schema.xml, managed-schema). In addition, Xinclude functionality provided in these config files is also affected in a similar way. The vulnerability 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. Users are advised to upgrade to either Solr 6.6.4 or Solr 7.3.1 releases both of which address the vulnerability. Once upgrade is complete, no other steps are required. Those releases only allow external entities and Xincludes that refer to local files / zookeeper resources below the Solr instance directory (using Solr's ResourceLoader); usage of absolute URLs is denied. Keep in mind, that external entities and XInclude are explicitly supported to better structure config files in large installations. Before Solr 6 this was no problem, as config files were not accessible through the APIs.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.solr » solr-core | >= 6.6.0, < 6.6.4>= 7.0.0, < 7.3.1 | 6.6.4, 7.3.1 |
Blast radius
19% of the dependent artifacts (26) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 1,777 |
| 2 hops | 3,512 |
| 3 hops | 7,768 |
| 4 hops | 8,252 |
| 5 hops | 723 |
| 6 hops | 1 |
Most used dependents
- org.apache.solr » solr-test-framework181 usages
- org.apache.solr » solr-cell32 usages
- org.apache.solr » solr-analysis-extras31 usages
- org.apache.atlas » atlas-notification24 usages
- org.apache.solr » solr-dataimporthandler23 usages
- org.apache.atlas » atlas-common17 usages
- org.apache.atlas » atlas-client-v115 usages
- org.apache.solr » solr-langid13 usages
- ddf.catalog.core » catalog-core-standardframework13 usages
- ddf.catalog.core » catalog-core-commands11 usages
- org.lockss » lockss-core-tests-bundle11 usages
- org.lockss » lockss-core-bundle9 usages
- org.apache.atlas » atlas-repository8 usages
- org.kitesdk » kite-morphlines-solr-core8 usages
- ddf.catalog.core » catalog-core-solr8 usages
Computed from the dependency graph of build 20261125.0317 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2018-8010 | nvd.nist.gov |
| Advisory | GitHub advisory GHSA-rc9v-h28f-jcmf | github.com |
| Web | apache/lucene-solr commit 4ba409e | github.com |
| Web | apache/lucene-solr commit 6c4e45e | github.com |
| Web | apache/lucene-solr commit 6d082d5 | github.com |
| Web | apache/lucene-solr commit 96f079b | github.com |
| Web | jira/browse/SOLR-12316 | issues.apache.org |
| Web | thread.html/r204ba2a9ea750f38d789d2bb429cc0925ad6133deea7cbc3001d96b5@<solr-user.lucene.ap ... | lists.apache.org |
| Web | mod_mbox/www-announce/201805.mbox/<08a801d3f0f9$df46d300$9dd47900$@apache.org> | mail-archives.apache.org |
| Web | bid/104239 | securityfocus.com |
