cve.bz

CVE-2019-17558 Apache Solr VelocityResponseWriter Plug-In Remote Code Execution Vulnerability

7.5 highKEVExploitEPSS 99%Fix available

High (7.5) in Apache Solr. In CISA KEV since 2021-11-03. EPSS 99% estimated probability of exploitation activity in the next 30 days. Fixed in org.apache.solr:solr-core 8.4.0.

On this page
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).

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
99% (unchanged from 99% a week ago; 99% 30 days ago) estimated probability of exploitation activity in the next 30 days; 100th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA KEV
listed 2021-11-03, due 2022-05-03
CISA's assessment (SSVC)
Exploitation: active · Automatable: no · Technical impact: total, assessed 2025-02-06. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component (Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2019-17558 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2019-17558?via=ask-ai-copy and https://cve.bz/cve/CVE-2019-17558?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2019-17558 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
apache:solrfrom 5.0.0 before 7.7.3
apache:solrfrom 8.0.0 before 8.4.0
oracle:primavera_unifierfrom 17.7 through 17.12
oracle:primavera_unifier16.1
oracle:primavera_unifier16.2
oracle:primavera_unifier18.8
oracle:primavera_unifier19.12

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-ww97-9w65-2crxMavenorg.apache.solr:solr-core>=5.0.0 <8.4.08.4.0
GHSA-ww97-9w65-2crxMavenorg.apache.solr:solr-core>=6.0.0 <8.4.08.4.0
GHSA-ww97-9w65-2crxMavenorg.apache.solr:solr-core>=7.0.0 <8.4.08.4.0
GHSA-ww97-9w65-2crxMavenorg.apache.solr:solr-core>=8.0.0 <8.4.08.4.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14lucene-solrno fix listedDEBIAN-CVE-2019-17558

From the distributions' data via OSV.dev: the Debian Security Tracker. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat JBoss Data Virtualization 6solr-coreNot affected
Red Hat JBoss Enterprise Application Platform 6solr-coreNot affected
Red Hat JBoss Fuse 6solr-coreNot affected
Red Hat JBoss Fuse Service Works 6solr-coreNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2019-17558.

Public exploits

GitHub PoC (unverified)

Repositories on GitHub named after this CVE. Nobody has checked them and they are not scanned: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it.

Detection rules

Ways to detect this CVE, not exploit code: the nuclei template that checks a system for it, and the Suricata and Snort rules that name it. A rule set may ship a rule turned off, so check yours by its sid.

  • Nuclei template Apache Solr <=8.3.1 - Remote Code Execution
  • Emerging Threats Open ET EXPLOIT Apache Solr RCE via Velocity Template M1 (CVE-2019-17558) sid 2034258
  • Emerging Threats Open ET EXPLOIT Apache Solr RCE via Velocity Template M2 (CVE-2019-17558) sid 2034259

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-74 (37).

References

Check your stackJSON