← Vulnerabilities

CVE-2019-17558

Apache Solr flaw lets attackers run code through Velocity templates

Apache Solr versions 5.0.0 through 8.3.1 have a remote code execution flaw in VelocityResponseWriter, a component that renders Velocity templates; a configset is a set of Solr configuration files that can include such templates. An attacker who can supply a malicious template, through an untrusted configset or by enabling parameter-provided templates, can run code on the Solr server. CISA added the flaw to its known-exploited list on 2021-11-03, so attackers are using it, and the package records list Solr 8.4.0 as the fixed version.

n/a Apache Solr · Updated 3 Nov · From 1 of our story and the public records

Being exploitedYesAttackers are using it
CISA known exploitedListedAdded 3 Nov; US agencies must fix by 3 May
SeverityhighCVSS 7.5 of 10
FixAvailableFixed versions below

Am I affected?

The records do not list fixed versions yet. Check the vendor's advisory below.

What to do

  1. Upgrade Apache Solr to 8.4.0, the fixed version listed in the package records.
  2. If you cannot upgrade, keep parameter-provided Velocity templates disabled; they are off by default and are enabled only by setting params.resource.loader.enabled to true.
  3. Limit configuration API access, because defining a response writer with parameter templates enabled requires that access.
  4. CISA lists this flaw as known exploited, so prioritize internet-facing Solr servers for patching.

What happened

  1. 3 NovCISA added the Apache Solr flaw to its known-exploited list, meaning attackers are using it.
  2. 3 MayUS federal agencies had to fix the flaw by this deadline under CISA's order.

The record

CVEWhat it isSeverityCISA listedExploit chance, 30 days
CVE-2019-17558Apache Solr VelocityResponseWriter Plug-In Remote Code Execution Vulnerabilityhigh 7.53 Nov99%
Is anything you run affected?Connect Zotpaper to Claude, ChatGPT or Cursor and ask. It checks your project's packages against this vulnerability and every other one in the advisory databases, and says what to update. Your first 20 lookups are free.
Try it free
CVE-2019-17558: Apache Solr flaw lets attackers run code through Velocity templates | Zotpaper