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

exploitDog

github логотип

GHSA-r279-47wg-chpr

Опубликовано: 12 дек. 2024
Источник: github
Github: Прошло ревью
CVSS3: 9.1

Описание

XWiki allows RCE from script right in configurable sections

Impact

Any user with script rights can perform arbitrary remote code execution by adding instances of XWiki.ConfigurableClass to any page. This compromises the confidentiality, integrity and availability of the whole XWiki installation.

To reproduce on a instance, as a user with script rights, edit your user profile and add an object of type XWiki.ConfigurableClass ("Custom configurable sections"). Set "Display in section" and "Display in category" to other, "Scope" to Wiki and all spaces and "Heading" to:

#set($codeToExecute = 'Test') #set($codeToExecuteResult = '{{async}}{{groovy}}services.logging.getLogger("attacker").error("Attack from Heading succeeded!"){{/groovy}}{{/async}}')

Save the page and view it, then add ?sheet=XWiki.AdminSheet&viewer=content&section=other to the URL. If the logs contain "attacker - Attack from Heading succeeded!", then the instance is vulnerable.

Patches

This has been patched in XWiki 15.10.9 and 16.3.0.

Workarounds

We're not aware of any workaround except upgrading.

References

For more information

If you have any questions or comments about this advisory:

Пакеты

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

org.xwiki.platform:xwiki-platform-administration-ui

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

>= 2.3, < 15.10.9

15.10.9

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

org.xwiki.platform:xwiki-platform-administration-ui

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

>= 16.0.0-rc-1, < 16.3.0

16.3.0

EPSS

Процентиль: 95%
0.19786
Средний

9.1 Critical

CVSS3

Дефекты

CWE-862

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

CVSS3: 9.1
nvd
около 1 года назад

XWiki Platform is a generic wiki platform. Starting in version 2.3 and prior to versions 15.10.9, 16.3.0, any user with script rights can perform arbitrary remote code execution by adding instances of `XWiki.ConfigurableClass` to any page. This compromises the confidentiality, integrity and availability of the whole XWiki installation. This has been patched in XWiki 15.10.9 and 16.3.0. No known workarounds are available except upgrading.

EPSS

Процентиль: 95%
0.19786
Средний

9.1 Critical

CVSS3

Дефекты

CWE-862