Actively exploited · Published Dec 30, 2019 · Assigned by apache

CVE-2019-17558

High 7.5 Exploited

In plain English

A high-severity injection in Apache Solr. Attackers are actively exploiting it in the wild (listed by CISA on November 3, 2021). The chance it is exploited in the next 30 days is estimated at 98.6% (higher than 99.9% of all known vulnerabilities). Ready-made attack tooling exists: Metasploit, Nuclei, public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)98.6%top 0.1% of all CVEs
Exploited in the wildYesCISA KEV since Nov 3, 2021
Attack tooling3Metasploit, Nuclei, Public PoC

CISA guidance

Apply updates per vendor instructions.

Federal agencies must remediate by May 3, 2022.

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12lucene-solrno fix listedDEBIAN-CVE-2019-17558
Debian:13lucene-solrno fix listedDEBIAN-CVE-2019-17558
Debian:14lucene-solrno fix listedDEBIAN-CVE-2019-17558
Mavenorg.apache.solr:solr-core8.4.0GHSA-ww97-9w65-2crx
Mavenorg.apache.solr:solr-core8.4.0GHSA-ww97-9w65-2crx
Mavenorg.apache.solr:solr-core8.4.0GHSA-ww97-9w65-2crx
Mavenorg.apache.solr:solr-core8.4.0GHSA-ww97-9w65-2crx

Affected products (as reported)

VendorProductVersions
n/a Apache Solr Apache Solr 5.0.0 to Apache Solr 8.3.1

Weakness: CWE-74 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

References