Skip to content
Fencer Vulns
high 7.5

CVE-2019-17558 kev in the critical feed json

Improper Input Validation in Apache Solr

published 2019-12-30 6 y ago modified 2026-06-17 4 mo ago also GHSA-ww97-9w65-2crx , EUVD-2020-0320

cvss
7.5
version 3.1, CNA
cisa kev
Exploited
added 2021-11-03
epss
98.6%
EPSS 98.6% chance of exploitation in 30 days, percentile 99.9%
public exploits
3
Metasploit, Exploit-DB, plus a Nuclei check

Summary

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).

Patch / fix

cisa required action Apply updates per vendor instructions.

  • maven org.apache.solr:solr-core 8.4.0
  • apache solr 7.7.3, 8.4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2019-17558 updated cvss 7.5

solr: Remote Code Execution through the VelocityResponseWriter

  • Red Hat JBoss Data Virtualization 6 solr-core Red Hat JBoss Enterprise Application Platform 6 solr-core Red Hat JBoss Fuse 6 solr-core Red Hat JBoss Fuse Service Works 6 solr-core
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Timeline

  1. First public exploit (Metasploit exploit/multi/http/solr_velocity_rce)
  2. Published
  3. Added to CISA KEV
  4. CISA patch deadline
  5. CISA SSVC: exploitation active

Known exploited

Added
5 y ago
Patch by
2022-05-03 (4 y ago)
Ransomware
Not known
Required action
Apply updates per vendor instructions.
Vendor, product
Apache, Solr
CISA name
Apache Solr VelocityResponseWriter Plug-In Remote Code Execution Vulnerability

ATT&CK techniques

How it is exploited and what it leads to, in MITRE ATT&CK terms.

  • T1190 Exploit Public-Facing Application exploitation
  • T1059 Command and Scripting Interpreter primary impact

kev release 2025-07-28, att&ck v16.1. KEV to ATT&CK mappings by the MITRE Center for Threat-Informed Defense (Mappings Explorer, Apache-2.0). © 2026 The MITRE Corporation. This work is reproduced and distributed with the permission of The MITRE Corporation. Terms of use

CISA SSVC

Exploitation
Active, exploited in the wild
Automatable
no
Technical impact
total
Assessed
21 mo ago

Exploit prediction

98.57% chance of exploitation in the next 30 days, higher than 99.9% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • Metasploit exploit/multi/http/solr_velocity_rce Apache Solr Remote Code Execution via Velocity Template metasploit exploit, excellent rank, 2019-10-29
  • EDB-48338 Apache Solr - Remote Code Execution via Velocity Template (Metasploit) remote, 2020-04-16
  • EDB-47572 Apache Solr 8.2.0 - Remote Code Execution webapps, 2019-11-01
  • Nuclei template Apache Solr <=8.3.1 - Remote Code Execution nuclei detection template
  • issues.apache.org https://issues.apache.org/jira/browse/SOLR-13971 referenced PoC, tagged "exploit" by a source, unverified
  • lists.apache.org https://lists.apache.org/thread.html/r5074d814d3a8c75df4b20e66bfd268ee0a73ddea7e85070cec3ae78d%40%3Cissues.lucene.apache.org%3E referenced PoC, tagged "exploit" by a source, unverified
  • lists.apache.org https://lists.apache.org/thread.html/rf6d7ffae2b940114324e036b6394beadf27696d051ae0c4a5edf07af%40%3Cissues.lucene.apache.org%3E referenced PoC, tagged "exploit" by a source, unverified
  • packetstormsecurity.com http://packetstormsecurity.com/files/157078/Apache-Solr-8.3.0-Velocity-Template-Remote-Code-Execution.html referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CISA ADP 3.1 7.5 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD 3.1 7.5 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CNA 3.1 7.5 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 4.6 AV:N/AC:H/Au:S/C:P/I:P/A:P
GitHub 3.1 7.5 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H/E:H

Affected packages

ecosystem package affected fixed in
maven org.apache.solr:solr-core
>=5.0.0, <8.4.0
>=6.0.0, <8.4.0
>=7.0.0, <8.4.0
>=8.0.0, <8.4.0
8.4.0

Affected products

  • n/a Apache Solr

Classification

Weakness
  • CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component
  • CWE-20 Improper Input Validation
  • CWE-94 Improper Control of Generation of Code

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.