Exploit database

Vulnerability

CVE-2019-17558

Vulnerability details

Score
7.5
Severity
high

CVSS 3.1 · CISA-ADP

Vector string

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

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).

CVE Program

Exploit source choices

10 sources
Apache Solr Remote Code Execution via Velocity Template
MSF-multi--http--solr_velocity_rceMetasploitJava,Linux,Unix,Windows / remote

This module exploits a vulnerability in Apache Solr <= 8.3.0 which allows remote code execution via a custom Velocity template. Currently, this module only supports Solr basic authentication. From the Tenable advisory: An attacker could target a vulnerable Apache Solr instance by first identifying a list of Solr core names. Once the core names have been identified, an attacker can send a specially crafted HTTP POST request to the Config API to toggle the params resource loader value for the Velocity Response Writer in the solrconfig.xml file to true. Enabling this parameter would allow an attacker to use the Velocity template parameter in a specially crafted Solr request, leading to RCE.

2019-10-29solr_velocity_rce.rb
zhzyker/exphub
GH-41e80c4c1fa54e7b61b0472394c2a2f1GitHubUnofficial GitHub source

Exphub[漏洞利用脚本库] 包括Webloigc、Struts2、Tomcat、Nexus、Solr、Jboss、Drupal的漏洞利用脚本,最新添加CVE-2020-14882、CVE-2020-11444、CVE-2020-10204、CVE-2020-10199、CVE-2020-1938、CVE-2020-2551、CVE-2020-2555、CVE-2020-2883、CVE-2019-17558、CVE-2019-6340

2020-04-0171 files · 4,297 stars
chhsiching/github-chinese-top-charts
GH-77a314c7a85b4f30c9386d81764a1e33GitHubUnofficial GitHub source

🇨🇳 GitHub中文排行榜,帮助你发现高分优秀中文项目。

2024-10-147 files · 3,140 stars
bigblackhat/ofx
GH-e5e9839114413d56d271656aba98f851GitHubUnofficial GitHub source

一个开源的、开箱即用的漏洞批量验证框架

2021-06-02301 files · 920 stars
arpsyndicate/kenzer-templates
GH-e5a0867366963da7a3617cf6f32fda4bGitHubUnofficial GitHub source

essential templates for kenzer [DEPRECATED]

2020-09-185,308 files · 118 stars
ma1dong/solr_cve-2019-17558
GH-6337513254e44666b9785ed5407d492eGitHubUnofficial GitHub source

Solr_CVE-2019-17558

2020-08-043 files · 2 stars
12442rf/poc
GH-3a840c3a743e0417793b49231edf2d51GitHubUnofficial GitHub source

12442rf/poc source repository

2025-05-0612 files · 1 stars
brunsu/woodswiki
GH-f3660552a0a96da2b9e1d1390d991a4dGitHubUnofficial GitHub source

brunsu/woodswiki source repository

2022-09-233 files · 0 stars