CVE-2019-17558
mediumpriority · act · 90OT risk · criticalKEV · exploitedEPSS 0.986 · 100 %ileexploit · weaponizedDEEURUUSadded 2021-11-03remediate by 2022-05-03
required action Apply updates per vendor instructions.
EPSS · scored 2026-10-27
Apache Solr VelocityResponseWriter Plug-In Remote Code Execution Vulnerability
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).
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 4.6–7.5
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
ATT&CK techniques
ATT&CK techniques this enables or maps to.
exploits (8)
Public proof-of-concept and weaponised exploit code.
- exploit/multi/http/solr_velocity_rceApache Solr Remote Code Execution via Velocity Templateweaponized · metasploit
- EDB-48338Apache Solr - Remote Code Execution via Velocity Template (Metasploit)functional · exploit_db
- EDB-47572Apache Solr 8.2.0 - Remote Code ExecutionPoC · exploit_db
- Ma1Dong/Solr_CVE-2019-17558Solr_CVE-2019-17558PoC · poc_in_github
affected products (26)
Products and version ranges known to be affected.
- Oracle Construction and Engineeringall versionscert_bundDEcpe:/a:oracle:construction_and_engineering:-
advisories (2)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2023-1048Oracle Construction and Engineering: Mehrere SchwachstellenDeutsch2020-10-20csaf · cert_bundDE
Ein entfernter, anonymer oder authentisierter Angreifer kann mehrere Schwachstellen in Oracle Construction and Engineering ausnutzen, um die Verfügbarkeit, Vertraulichkeit und Integrität zu gefährden.
- GHSA-ww97-9w65-2crxImproper Input Validation in Apache Solr2020-02-12ghsa · osvUS
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).
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (95)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/issue/WLB-2020040094cnnvd
- https://issues.apache.org/jira/browse/SOLR-13971cnnvd
- https://lists.apache.org/thread.html/r0b7b9d4113e6ec1ae1d3d0898c645f758511107ea44f0f3a1210c5d5@%3Cissues.lucene.apache.org%3Ecnnvd
- https://lists.apache.org/thread.html/r12ab2cb15a34e49b4fecb5b2bdd7e10f3e8b7bf1f4f47fcde34d3a7c@%3Cissues.lucene.apache.org%3Ecnnvd
- https://lists.apache.org/thread.html/r19d23e8640236a3058b4d6c23e5cd663fde182255f5a9d63e0606a66@%3Cdev.lucene.apache.org%3Ecnnvd
- https://lists.apache.org/thread.html/r1d4a247329a8478073163567bbc8c8cb6b49c6bfc2bf58153a857af1@%3Ccommits.druid.apache.org%3Ecnnvd
- https://lists.apache.org/thread.html/r204ba2a9ea750f38d789d2bb429cc0925ad6133deea7cbc3001d96b5@%3Csolr-user.lucene.apache.org%3Ecnnvd
- https://lists.apache.org/thread.html/r25f1bd4545617f5b86dde27b4c30fec73117af65598a30e20209739a@%3Cissues.lucene.apache.org%3Ecnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan