CVE-2018-8026
XML external entity expansion in org.apache.solr:solr-core
Description
This vulnerability in Apache Solr 6.0.0 to 6.6.4 and 7.0.0 to 7.3.1 relates to an XML external entity expansion (XXE) in Solr config files (currency.xml, enumsConfig.xml referred from schema.xml, TIKA parsecontext config file). 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. The manipulated files can be uploaded as configsets using Solr's API, allowing to exploit that vulnerability.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.solr » solr-core | >= 6.0.0, < 6.6.5>= 7.0.0, < 7.4.0 | 6.6.5, 7.4.0 |
Blast radius
50% of the dependent artifacts (190) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 2,717 |
| 2 hops | 5,405 |
| 3 hops | 9,703 |
| 4 hops | 10,259 |
| 5 hops | 1,152 |
| 6 hops | 2 |
Most used dependents
- org.apache.solr » solr-test-framework181 usages
- org.phenotips » vocabularies-api46 usages
- org.dspace » dspace-api43 usages
- org.apache.solr » solr-cell32 usages
- org.xwiki.platform » xwiki-platform-search-solr-api31 usages
- org.apache.solr » solr-analysis-extras31 usages
- org.apache.atlas » atlas-notification24 usages
- org.apache.solr » solr-dataimporthandler23 usages
- org.xwiki.platform » xwiki-platform-search-solr-query19 usages
- com.logicaldoc » logicaldoc-core19 usages
- org.apache.atlas » atlas-common17 usages
- org.apache.atlas » atlas-client-v115 usages
- org.xwiki.platform » xwiki-platform-search-solr-ui15 usages
- org.phenotips » patient-similarity-data-api15 usages
- org.languagetool » language-all14 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-8026 | nvd.nist.gov |
| Advisory | GitHub advisory GHSA-7px3-6f6g-hxcj | github.com |
| Web | apache/lucene-solr commit 1880d48 | github.com |
| Web | apache/lucene-solr commit 3aa6086 | github.com |
| Web | apache/lucene-solr commit d1baf6b | github.com |
| Web | apache/lucene-solr commit e5407c5 | github.com |
| Web | jira/browse/SOLR-12450 | issues.apache.org |
| Web | mod_mbox/lucene-solr-user/201807.mbox/<0cdc01d413b7$f97ba580$ec72f080$@apache.org> | mail-archives.apache.org |
| Web | advisory/ntap-20190307-0002 | security.netapp.com |
