Apache Solr < 7.1.0 Remote Code Execution

critical Web Application Scanning Plugin ID 98897



Apache Solr < 7.1.0 Remote Code Execution


Remote code execution occurs in Apache Solr versions < 7.1.0 with Apache Lucene < 7.1.0 by exploiting XXE in conjunction with use of a Config API add-listener command to reach the RunExecutableListener class. This can be exploited to upload malicious data to the /upload request handler or as Blind XXE using ftp wrapper in order to read arbitrary local files from the Solr server.

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

See Also


Plugin Details

Severity: Critical

ID: 98897

Type: remote

Published: 1/22/2020

Updated: 10/26/2022

Scan Template: scan, pci, api

Risk Information


Risk Factor: High

Base Score: 7.5

Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2017-12629


Risk Factor: Critical

Base Score: 9.8

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

CVSS Score Source: CVE-2017-12629

Vulnerability Information

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 10/14/2017

Vulnerability Publication Date: 10/14/2017

Reference Information

CVE: CVE-2017-12629