CVE-2019-17558highunder attackCWE-74

CVE-2019-17558: high-severity vulnerability in Apache Solr

Published · Updated

E-mail alert when it lands in KEV, gets a public PoC or its score goes up.

100Vexday Risk Score

Patch now. It under exploitation confirmed by CISA and has a working public exploit.

ssvc Actcvss 7.5epss 99%
from disclosure to weaponsame day
Published on NVDDec 30
1st PoCNov 1
metasploitOct 29
CISA KEV+674d
What the vendors declare (VEX)

Official vendor statements in CSAF/VEX format: whether their product is affected, already fixed, or ruled out — and why. These are the vendor's assertions, not Vexday's judgment.

Not affected
4 products — because the vulnerable code is not present in the product
Red Hat JBoss Data Virtualization 6 · Red Hat JBoss Enterprise Application Platform 6 · Red Hat JBoss Fuse 6 · Red Hat JBoss Fuse Service Works 6
Action required by CISAfederal deadline: 2022-05-03

Apply updates per vendor instructions.

In short

Apache Solr allows attackers to run malicious code on servers through templates that can be provided in configuration files or as parameters. This happens because the software doesn't properly validate these templates before executing them.

Technical detail

CVE-2019-17558 is an Arbitrary Code Execution vulnerability in Apache Solr 5.0.0–8.3.1 via VelocityResponseWriter. The attack vector requires either uploading a malicious configset or enabling parameter-based templates through the Configuration API (params.resource.loader.enabled). The vulnerability stems from insufficient template validation in Velocity template rendering, allowing arbitrary code execution with the privileges of the Solr process.

Summary generated and translated by AI from the official description.

The full analysis of this CVE is available in Portuguese →

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).
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected products
n/a · Apache Solr
⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.