Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-987p-r3jc-8c8v

Опубликовано: 29 апр. 2025
Источник: github
Github: Прошло ревью
CVSS3: 3.8

Описание

Solr script service doesn't take dropped programming right into account

Impact

The Solr script service that is accessible in XWiki's scripting API normally requires programming right to be called. Due to using the wrong API for checking rights, it doesn't take the fact into account that programming rights might have been dropped by calling $xcontext.dropPermissions(). If some code relies on this for the safety of executing Velocity code with the wrong author context, this could allow a user with script right to either cause a high load by indexing documents or to temporarily remove documents from the search index. We're not aware that this is exploitable in XWiki itself.

To reproduce, a user with programming right can add the following XWiki syntax to a page:

{{velocity}} $xcontext.dropPermissions() $services.solr.index('document:xwiki:Main.WebHome') {{/velocity}}

This should trigger an error in XWiki's log, otherwise the installation is vulnerable.

Patches

This has been patched in XWiki 15.10.13, 16.8.0RC1, and 16.4.4.

Workarounds

We're not aware of any workarounds apart from being careful whom you grant script right.

Пакеты

Наименование

org.xwiki.platform:xwiki-platform-search-solr-api

maven
Затронутые версииВерсия исправления

>= 4.5.1, < 15.10.13

15.10.13

Наименование

org.xwiki.platform:xwiki-platform-search-solr-api

maven
Затронутые версииВерсия исправления

>= 16.0.0-rc-1, < 16.4.4

16.4.4

Наименование

org.xwiki.platform:xwiki-platform-search-solr-api

maven
Затронутые версииВерсия исправления

>= 16.5.0-rc-1, < 16.8.0-rc-1

16.8.0-rc-1

EPSS

Процентиль: 10%
0.00036
Низкий

3.8 Low

CVSS3

Дефекты

CWE-863

Связанные уязвимости

CVSS3: 3.8
nvd
9 месяцев назад

XWiki is a generic wiki platform. In versions starting from 4.5.1 to before 15.10.13, from 16.0.0-rc-1 to before 16.4.4, and from 16.5.0-rc-1 to before 16.8.0-rc-1, the Solr script service doesn't take dropped programming rights into account. The Solr script service that is accessible in XWiki's scripting API normally requires programming rights to be called. Due to using the wrong API for checking rights, it doesn't take the fact into account that programming rights might have been dropped by calling `$xcontext.dropPermissions()`. If some code relies on this for the safety of executing Velocity code with the wrong author context, this could allow a user with script rights to either cause a high load by indexing documents or to temporarily remove documents from the search index. This issue has been patched in versions 15.10.13, 16.4.4, and 16.8.0-rc-1.

CVSS3: 3.8
fstec
9 месяцев назад

Уязвимость сервиса скриптов Solr платформы создания совместных веб-приложений XWiki Platform XWiki , позволяющая нарушителю удалять произвольные файлы

EPSS

Процентиль: 10%
0.00036
Низкий

3.8 Low

CVSS3

Дефекты

CWE-863