Apache Solr 6.x < 6.4.1 Directory Traversal

Medium Web Application Scanning Plugin ID 98895

Synopsis

Apache Solr 6.x < 6.4.1 Directory Traversal

Description

When using the Index Replication feature, Apache Solr nodes can pull index files from a master/leader node using an HTTP API which accepts a file name. Solr versions < 5.5.4 and 6.x < 6.4.1 do not validate this file name allowing for a remote, unauthenticated attacker to access any file(s) readable by the Solr application.

Note that the scanner has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Update to Apache Solr version 6.4.1 or latest.

See Also

https://lists.apache.org/thread.html/[email protected]%3Csolr-user.lucene.apache.org%3E

https://access.redhat.com/errata/RHSA-2018:1451

Plugin Details

Severity: Medium

ID: 98895

Type: remote

Published: 2020/01/22

Updated: 2020/02/18

Risk Information

Risk Factor: Medium

CVSS v2.0

Base Score: 5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N

CVSS v3.0

Base Score: 7.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Vulnerability Information

CPE: cpe:2.3:a:apache:solr:*:*:*:*:*:*:*:*

Exploit Available: false

Patch Publication Date: 2017/02/06

Vulnerability Publication Date: 2016/08/30

Reference Information

CVE: CVE-2017-3163

CWE: 22

WASC: Path Traversal

OWASP: 2010-A4, 2013-A4, 2013-A9, 2017-A5, 2017-A9