Apache Solr < 8.4.0 Remote Code Execution

medium Nessus Plugin ID 132583
New! Vulnerability Priority Rating (VPR)

Tenable calculates a dynamic VPR for every vulnerability. VPR combines vulnerability information with threat intelligence and machine learning algorithms to predict which vulnerabilities are most likely to be exploited in attacks. Read more about what VPR is and how it is different from CVSS.

VPR Score: 8.4


The remote web server contains a Java application that is affected by a remote code execution vulnerability.


The version of Apache Solr running on the remote host is at least 5.0.0 and prior to 8.4.0. It is, therefore, affected by a remote code execution vulnerability. A remote code execution vulnerability exists in VelocityResponseWriter due to a flaw in the velocity template parameter. An unauthenticated, remote attacker can exploit this to bypass authentication and execute arbitrary commands with the privileges of Apache Solr.


Upgrade to Apache Solr version 8.4.0 or later.

See Also






Plugin Details

Severity: Medium

ID: 132583

File Name: solr_8_4_0.nasl

Version: 1.6

Type: remote

Family: CGI abuses

Published: 1/2/2020

Updated: 8/24/2020

Dependencies: solr_detect.nbin

Risk Information

Risk Factor: Medium

VPR Score: 8.4

CVSS Score Source: CVE-2019-17558

CVSS v2.0

Base Score: 6

Temporal Score: 5

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

Temporal Vector: E:F/RL:OF/RC:C

CVSS v3.0

Base Score: 7.5

Temporal Score: 7

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

Temporal Vector: E:F/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:apache:solr

Required KB Items: installed_sw/Apache Solr

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 12/29/2019

Vulnerability Publication Date: 10/29/2019

Exploitable With

Metasploit (Apache Solr Remote Code Execution via Velocity Template)

Reference Information

CVE: CVE-2019-17558