Apache Solr < 8.2.0 Remote Code Execution

high Web App Scanning Plugin ID 98930

Synopsis

Apache Solr < 8.2.0 Remote Code Execution

Description

The DataImportHandler, a popular and widely used module which is used to pull data from databases or other sources, has a vulnerability dataConfig parameter. This parameter is used for configuration of DIH config; since this config can contain scripts, this parameter poses a RCE security risk. Starting with version 8.2.0 of Solr, use of this parameter requires setting the Java System property "enable.dih.dataConfigParam" 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.2.0 or latest.

See Also

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

Plugin Details

Severity: High

ID: 98930

Type: remote

Published: 1/27/2020

Updated: 3/14/2023

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

Risk Information

VPR

Risk Factor: High

Score: 7.4

CVSS v2

Risk Factor: High

Base Score: 9

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

CVSS Score Source: CVE-2019-0193

CVSS v3

Risk Factor: High

Base Score: 7.2

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

CVSS Score Source: CVE-2019-0193

Vulnerability Information

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

Exploit Ease: No known exploits are available

Patch Publication Date: 8/1/2019

Vulnerability Publication Date: 8/1/2019

CISA Known Exploited Vulnerability Due Dates: 6/10/2022

Reference Information

CVE: CVE-2019-0193