CVE-2019-17558KEV · OVERDUE

Apache Solr VelocityResponseWriter Plug-In Remote Code Execution Vulnerability

High · published December 30, 2019

Patch now

Confirmed exploited, and the score agrees

CVSS calls it high at 7.5. It is confirmed in active exploitation. It sits in the 99.9th percentile for exploit probability.

1634
days past CISA
deadline
CVSS v3.1
7.5
EPSS
99%
Percentile
99.9
In the wild
Confirmed
What it is

⚡ A crafted Velocity template can turn Apache Solr into an attacker's playground! Remote code execution is worrying when misconfigured settings allow potentially malicious templates to be served. 🔥 Think of it like a restaurant that allows customers to customize their orders without checking the ingredients — you could end up with something dangerous instead of a delightful dish! Here, enabling user-defined templates without proper scrutiny can serve up serious security risks. An attacker could exploit this vulnerability to execute arbitrary code on the server, gaining control over sensitive data or taking the entire system offline. Imagine a thief slipping in undetected, rummaging through your files, and even altering your business processes — it's absolutely devastating!

Put simply

Think of it like a restaurant that allows customers to customize their orders without checking the ingredients — you could end up with something dangerous instead of a delightful dish! Here, enabling user-defined templates without proper scrutiny can serve up serious security risks. This vulnerability in Apache Solr allows remote code execution through the VelocityResponseWriter by enabling user-defined template loading in configsets, which can be maliciously crafted. If the parameter `params.resource.loader.enabled` is set to true, it opens the door for exploitation.

What to do

An attacker could exploit this vulnerability to execute arbitrary code on the server, gaining control over sensitive data or taking the entire system offline. Imagine a thief slipping in undetected, rummaging through your files, and even altering your business processes — it's absolutely devastating! To protect your system, upgrade to Apache Solr version 8.4 or later, as this version removes the vulnerable resource loader entirely! If you must use an earlier version, ensure that the `params.resource.loader.enabled` setting is disabled and only allow trusted configsets. You've got this! By following these steps, you'll lock down your Solr installation and keep those vulnerabilities at bay. 🛡️

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.98567 · 99.9th percentile
Published
2019-12-30T16:36Z
KEV added
2021-11-03 · due 2022-05-03
EPSS history
Timeline
  • 03 NOV 00:00Z
    Added to CISA KEV — remediate by May 3
    kev
  • 30 DEC 16:36Z
    Apache Solr 5.0.0 to Apache Solr 8.3.1 are vulnerable to a Remote Code Execution through the VelocityResponseWriter
    cvelistv5