Apache Solr < 8.4.0 Remote Code Execution

high Web App Scanning Plugin ID 98924

Synopsis

Apache Solr < 8.4.0 Remote Code Execution

Description

Apache Solr versions 5.0.0 to 8.3.1 allow for a a remote, unauthenticated user to set 'params.resource.loader.enabled' to true via an HTTP POST request to the JMX server. Enabling this parameter would allow an attacker to use the velocity template parameter in a specially crafted Solr request, leading to Remote Code Execution (RCE).

Solution

Upgrade to Apache Solr version 8.4.0 or later

See Also

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

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

https://www.tenable.com/blog/cve-2019-17558-apache-solr-vulnerable-to-remote-code-execution-zero-day-vulnerability

Plugin Details

Severity: High

ID: 98924

Type: remote

Published: 1/24/2020

Updated: 2/21/2022

Scan Template: api, basic, full, pci, scan

Risk Information

VPR

Risk Factor: High

Score: 8.4

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 Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 12/29/2019

Vulnerability Publication Date: 10/29/2019

CISA Known Exploited Vulnerability Due Dates: 5/3/2022

Reference Information

CVE: CVE-2019-17558