Skip to content
OpenAdvisories
High · 7.5 Known exploited Scanner template Public exploit CVE-2019-17558 EUVD-2020-0320GHSA-ww97-9w65-2crx

Improper Input Validation in Apache Solr

Published Dec 30, 2019 · Updated Oct 21, 2025 · Assigned by apache

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

Affected products

VendorProductAffectedFixed
— Apache Solr Apache Solr 5.0.0 to Apache Solr 8.3.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 lucene-solr No fix yet —
Debian 13 lucene-solr No fix yet —
Debian 12 lucene-solr No fix yet —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Metasploit 1 module

Exploit-DB 2

GitHub 6 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Automated scanner template

A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.

Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.apache.solr:solr-core >= 5.0.0, < 8.4.0 8.4.0 GHSA-ww97-9w65-2crx
Maven org.apache.solr:solr-core >= 6.0.0, < 8.4.0 8.4.0 GHSA-ww97-9w65-2crx
Maven org.apache.solr:solr-core >= 7.0.0, < 8.4.0 8.4.0 GHSA-ww97-9w65-2crx
Maven org.apache.solr:solr-core >= 8.0.0, < 8.4.0 8.4.0 GHSA-ww97-9w65-2crx

Advisories 1

References