VDB
Sign up
MEDIUM

GHSA-j8qw-mwmv-28cg

Improper Limitation of a Pathname to a Restricted Directory in Apache Solr

Quick fix

GHSA-j8qw-mwmv-28cg — org.apache.solr:solr-core: upgrade to the fixed version with the command below.

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

Details

Directory traversal vulnerability in SolrResourceLoader in Apache Solr before 4.6 allows remote attackers to read arbitrary files via a .. (dot dot) or full pathname in the tr parameter to solr/select/, when the response writer (wt parameter) is set to XSLT. NOTE: this can be leveraged using a separate XXE (XML eXternal Entity) vulnerability to allow access to files across restricted network boundaries.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.apache.solr:solr-core
Introduced in: 0Fixed in: 4.6.0
Fix# pom.xml: bump <version>4.6.0</version> for org.apache.solr:solr-core

References