Rapid7 Vulnerability & Exploit Database

Apache Solr: CVE-2019-17558: Apache Solr RCE through VelocityResponseWriter

Free InsightVM Trial No Credit Card Necessary
Watch Demo See how it all works
Back to Search

Apache Solr: CVE-2019-17558: Apache Solr RCE through VelocityResponseWriter

Severity
5
CVSS
(AV:N/AC:H/Au:S/C:P/I:P/A:P)
Published
12/30/2019
Created
11/28/2023
Added
11/27/2023
Modified
11/28/2023

Description

Apache Solr 5.0.0 to Apache Solr 8.3.1 are vulnerable to a Remote Code Execution through the VelocityResponseWriter. A Velocity template can be provided through Velocity templates in a configset `velocity/` directory or as a parameter. A user defined configset could contain renderable, 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`. Defining a response writer requires configuration API access. Solr 8.4 removed the params resource loader entirely, and only enables the configset-provided template rendering when the configset is `trusted` (has been uploaded by an authenticated user).

Solution(s)

  • apache-solr-upgrade-latest

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;