Apache · Solr · CWE-74 · published 2019-12-30

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

This week Known exploited in the wild.

CVE-2019-17558 is actively exploited in the wild: CISA added it to the Known Exploited Vulnerabilities catalog on 2021-11-03. EPSS estimates a 98.6% chance of exploitation in the next 30 days, higher than 99% of all CVEs. This Solr vulnerability: CVSS 7.5 (v3.1), a successful attack gives total control of the component. Debian and Ubuntu still have unfixed releases. US federal agencies must remediate by 2022-05-03. Patch this week.

Share this

Remediation#

CISA required action: Apply updates per vendor instructions. (federal due date 2022-05-03)

Linux distribution packages

If you run the distro’s package rather than an upstream build, this is the version to look for.

DistroReleasePackageStatus
Debian13 trixielucene-solrNo fix yet
12 bookwormlucene-solrNo fix yet
Ubuntu24.04 LTSlucene-solrNo fix yet
22.04 LTSlucene-solrNo fix yet
20.04 LTSlucene-solrNo fix yet

From the Debian Security Tracker, Ubuntu security notices (CC BY-SA 4.0) and Red Hat Security Data (CC BY 4.0). Check the distro link before acting.

Patch events

  1. This weekExploited (KEV)CISA due 2022-05-03

    App server & middlewareApache Solr

    VelocityResponseWriter Plug-In Remote Code ExecutionCVE-2019-17558

    Why: Known exploited in the wild.

Exploit intelligence#

SignalValueSource
Known exploitedYes, added 2021-11-03CISA KEV
Ransomware useUnknownCISA KEV
EPSS (30-day exploitation probability)99% (100th pct)FIRST EPSS v2026.06.15
CVSS base score7.5 (v3.1)
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CNA / CISA ADP
SSVC exploitationactiveCISA Vulnrichment
SSVC automatableNoCISA Vulnrichment
SSVC technical impacttotalCISA Vulnrichment

Weakness: CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component

More from this vendor: all Apache vulnerabilities · recent KEV additions

Affected versions (from the CVE record)#

Description (from the CVE record)#

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

Quoted from the CVE Program record.

Elsewhere#

Distro status: Debian · Ubuntu · Red Hat · Alpine

Something wrong on this page?
Anonymous. Reports are checked against the primary source.

Also on today's list

See today's list → · Coming up →