Apache Solr 5.0.0 < 8.4.0 Remote Code Execution

medium Web Application Scanning Plugin ID 98931


Apache Solr 5.0.0 < 8.4.0 Remote Code Execution


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.


Update to Apache Solr version 8.4.0 or latest.

See Also


Plugin Details

Severity: Medium

ID: 98931

Type: remote

Published: 1/27/2020

Updated: 3/5/2021

Scan Template: api, scan, pci

Risk Information

Risk Factor: Medium

CVSS v2.0

Base Score: 6

Vector: AV:N/AC:M/Au:S/C:P/I:P/A:P

CVSS v3.0

Base Score: 7.5

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

Vulnerability Information

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

Patch Publication Date: 12/30/2019

Vulnerability Publication Date: 12/30/2019

Reference Information

CVE: CVE-2019-17558