Vulnerabilities

CVE-2019-17558

Apache Solr VelocityResponseWriter Plug-In Remote Code Execution Vulnerability

Actively exploited (CISA KEV) High 7.5 CVSS 3.1

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

Description as published by the source, in English.

Key facts

Published
2019-12-30
Last modified
2026-06-17
Assigned by
security@apache.org
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Scored by
nvd@nist.gov (NVD Primary)
Probability of exploitation
98.6 % among the highest of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Yes, see references

Actively exploited

CISA added this vulnerability to the Known Exploited Vulnerabilities catalogue on 2021-11-03, with a remediation deadline of 2022-05-03 for US federal agencies.

Required action: Apply updates per vendor instructions.

Affected products

Vendor Product Versions Status
Apache Solr ≥ 5.0.0, < 7.7.3 Affected
Apache Solr ≥ 8.0.0, < 8.4.0 Affected
Oracle Primavera Unifier 16.1 Affected
Oracle Primavera Unifier 16.2 Affected
Oracle Primavera Unifier 18.8 Affected
Oracle Primavera Unifier 19.12 Affected
Oracle Primavera Unifier ≥ 17.7, ≤ 17.12 Affected
org.apache.solr solr-core (Maven) ≥ 5.0.0, < 8.4.0 Affected
org.apache.solr solr-core (Maven) ≥ 6.0.0, < 8.4.0 Affected
org.apache.solr solr-core (Maven) ≥ 7.0.0, < 8.4.0 Affected
org.apache.solr solr-core (Maven) ≥ 8.0.0, < 8.4.0 Affected

Weakness type

Attack techniques

Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.

  • T1027: Obfuscated Files or Information stealth
  • T1574.006: Dynamic Linker Hijacking stealth, execution
  • T1574.007: Path Interception by PATH Environment Variable stealth, execution

References

Related at Berigo

Articles

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities