Apache Solr 5.0.0 < 8.4.0 Remote Code Execution

high Web Application Scanning Plugin ID 98931

Language:

Synopsis

Apache Solr 5.0.0 < 8.4.0 Remote Code Execution

Description

Apache Solr Versions 5.0.0 to 8.3.1 are vulnerable to a Remote Code Execution vulnerability via the VelocityResponseWriter method. A template may be provided in a configset '/velocity' directory or as a request paramter. A user defined configset may contain potentially malicious templates. Parameter provided templates are disabled by default, but can be enabled by setting `params.resource.loader.enabled` by defining a response writer with that setting set to `true`.

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 8.4.0 or latest.

See Also

https://issues.apache.org/jira/browse/SOLR-13971

Plugin Details

Severity: High

ID: 98931

Type: remote

Published: 1/27/2020

Updated: 2/21/2022

Scan Template: pci, api, scan

Risk Information

VPR

Risk Factor: Critical

Score: 9

CVSS v2

Risk Factor: Medium

Base Score: 4.6

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

CVSS Score Source: CVE-2019-17558

CVSS v3

Risk Factor: High

Base Score: 7.5

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

CVSS Score Source: CVE-2019-17558

Vulnerability Information

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

Exploit Ease: No known exploits are available

Patch Publication Date: 12/30/2019

Vulnerability Publication Date: 12/30/2019

Reference Information

CVE: CVE-2019-17558