PT-2019-5683 · Apache+1 · Apache Solr+1

Published

2019-12-30

·

Updated

2025-10-27

·

CVE-2019-17558

CVSS v2.0

8.5

High

VectorAV:N/AC:M/Au:S/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions Apache Solr versions 5.0.0 through 8.3.1
Description The issue is related to insufficient input validation in the VelocityResponseWriter component of Apache Solr, allowing for remote code execution. A Velocity template can be provided through the velocity/ directory in a configset or as a parameter. User-defined configsets may contain potentially malicious templates. Parameter-provided templates are disabled by default but can be enabled by setting params.resource.loader.enabled to true through a response writer definition, which requires configuration API access.
Recommendations For Apache Solr versions 5.0.0 through 8.3.1, consider disabling the VelocityResponseWriter until a patch is available or upgrade to Apache Solr 8.4, which removes the params resource loader and only enables configset-provided template rendering for trusted configsets. As a temporary workaround, restrict access to the configuration API to minimize the risk of exploitation. Avoid using parameter-provided templates in the affected API endpoints until the issue is resolved.

Exploit

Fix

RCE

Code Injection

Special Elements Injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2020-05183
CVE-2019-17558
GHSA-WW97-9W65-2CRX

Affected Products

Apache Solr
Debian