Code Injection in Apache Solr - CVE-2019-17558

 

Code Injection in Apache Solr - CVE-2019-17558

Published: December 30, 2019 / Updated: February 20, 2022


Vulnerability identifier: #VU23850
CSH Severity: Medium
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2019-17558
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: The vulnerability is being exploited in the wild

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to improper input validation in VelocityResponseWriter, when "params.resource.loader.enabled" is set to true in Apache Solr configuration. A remote authenticated user with ability to load templates or change software configuration can inject a malicious template and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

Apache Solr
Primavera Unifier

How to mitigate CVE-2019-17558

Install updates from vendor's website.

Apache Solr - update to 8.4.0

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins