Skip to content
OpenAdvisories
Medium CVE-2013-6397 EUVD-2022-4317GHSA-j8qw-mwmv-28cg

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

Published Dec 7, 2013 · Updated Aug 6, 2024 · Assigned by redhat

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 lucene-solr 3.6.2+dfsg-2 —
Debian 13 lucene-solr 3.6.2+dfsg-2 —
Debian 12 lucene-solr 3.6.2+dfsg-2 —
Debian 7 lucene-solr 3.6.0+dfsg-1+deb7u1 DSA-2963-1

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.apache.solr:solr-core < 4.6.0 4.6.0 GHSA-j8qw-mwmv-28cg

Advisories 1

References