Apache Solr 5.0.0 до Apache Solr 8.3.1 уязвимы для удаленного выполнения кода через VelocityResponseWriter. Шаблон Velocity может быть предоставлен через шаблоны Velocity в каталоге configset velocity/ или в качестве параметра. Конфигурация, определенная пользователем, может содержать рендерируемые, потенциально вредоносные шаблоны.
Предоставленные шаблоны параметров по умолчанию отключены, но могут быть включены, установив params.resource.loader.enabled, определив регистратор ответов с этим параметром, установленным в true. Для определения записывающего устройства требуется доступ к конфигурации API. Solr 8.4 полностью удалил загрузчик ресурсов params и включил рендеринг шаблона, предоставленный configset, только когда configset - trusted (был загружен аутентифицированным пользователем).
Показать оригинальное описание (EN)
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 v3.1
Тип уязвимости (CWE)
Уязвимые продукты 7
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Apache Solr
cpe:2.3:a:apache:solr:*:*:*:*:*:*:*:*
|
5.0.0
|
7.7.3
|
|
Apache Solr
cpe:2.3:a:apache:solr:*:*:*:*:*:*:*:*
|
8.0.0
|
8.4.0
|
|
Oracle Primavera_Unifier
cpe:2.3:a:oracle:primavera_unifier:*:*:*:*:*:*:*:*
|
17.7
|
<= 17.12
|
|
Oracle Primavera_Unifier
cpe:2.3:a:oracle:primavera_unifier:16.1:*:*:*:*:*:*:*
|
— | — |
|
Oracle Primavera_Unifier
cpe:2.3:a:oracle:primavera_unifier:16.2:*:*:*:*:*:*:*
|
— | — |
|
Oracle Primavera_Unifier
cpe:2.3:a:oracle:primavera_unifier:18.8:*:*:*:*:*:*:*
|
— | — |
|
Oracle Primavera_Unifier
cpe:2.3:a:oracle:primavera_unifier:19.12:*:*:*:*:*:*:*
|
— | — |