VDB
Sign up
MEDIUM5.5

GHSA-7px3-6f6g-hxcj

XML external entity expansion in org.apache.solr:solr-core

Quick fix

GHSA-7px3-6f6g-hxcj — org.apache.solr:solr-core: upgrade to the fixed version with the command below.

# pom.xml: bump <version>7.4.0</version> for org.apache.solr:solr-core

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.apache.solr:solr-core
Introduced in: 7.0.0Fixed in: 7.4.0
Fix# pom.xml: bump <version>7.4.0</version> for org.apache.solr:solr-core
Maven/org.apache.solr:solr-core
Introduced in: 6.0.0Fixed in: 6.6.5
Fix# pom.xml: bump <version>6.6.5</version> for org.apache.solr:solr-core

References