• Platformchevron right
  • Solutionschevron right
  • Modern NDRchevron right
  • Resourceschevron right
  • Companychevron right

DETECTION OVERVIEW

Apache Solr Exploit - CVE-2019-17558

Risk Factors

This vulnerability is well known and public exploit code is available. An unauthenticated attacker can conduct malicious activity such as command-and-control communication, exfiltration, discovery, or reconnaissance through a reverse shell on a compromised device.

Kill Chain

Exploitation

Risk Score

70

Detection diagram
Next in Exploitation: Apache Solr Exploit Attempt - CVE-2019-0193

Attack Background

Apache Solr is a Java-based search platform for enterprise software. Solr supports VelocityResponseWriter, an optional plugin that enables core search features through a Java-based template engine. Apache Solr has a vulnerability in VelocityResponseWriter that allows an attacker to change a configuration value that enables RCE. Specifically, the attacker can define a response writer by setting the params.resource.loader.enabled value to true. (A response writer is an instance of VelocityResponseWriter that processes Solr requests with Velocity templates.) After the configuration is changed, the attacker performs RCE by sending a specially designed HTTP request to the Apache Solr server. The request includes a malicious custom template provided in either a query parameter or a payload in the HTTP request body. The custom template will run on arbitrary commands on the server. For example, an attacker can incorporate shellcode into the custom template to create a reverse shell and run commands on the victim.

Mitigation Options

Install relevant patch for affected versions

Disable Config API by restarting Solr with the parameter, -Disable.configEdit=false

If unable to disable Config API, restrict access to Apache Solr Config API to authorized users only

MITRE ATT&CK ID

What else can RevealX do for you?