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

exploitDog

github логотип

GHSA-9875-cw22-f7cx

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

Описание

XWiki allows remote code execution through default value of wiki macro wiki-type parameters

Impact

Any user with edit right on a page (could be the user's profile) can execute code (Groovy, Python, Velocity) with programming right by defining a wiki macro. This allows full access to the whole XWiki installation and thus impacts its confidentiality, integrity and availability. The main problem is that if a wiki macro parameter allows wiki syntax, its default value is executed with the rights of the author of the document where it is used. This can be exploited by overriding a macro like the children macro that is used in a page that has programming right like the page XWiki.ChildrenMacro and thus allows arbitrary script macros. The full reproduction steps can be found in the original issue.

Patches

This vulnerability has been patched in XWiki 16.4.7, 16.10.3 and 17.0.0 by executing wiki parameters with the rights of the wiki macro's author when the parameter's value is the default value.

Workarounds

We're not aware of any workarounds except for upgrading.

Пакеты

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

org.xwiki.platform:xwiki-platform-rendering-wikimacro-store

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

>= 11.10.11

Отсутствует

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

org.xwiki.platform:xwiki-platform-rendering-wikimacro-store

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

>= 12.6.3

Отсутствует

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

org.xwiki.platform:xwiki-platform-rendering-wikimacro-store

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

>= 12.8-rc-1, < 16.4.7

16.4.7

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

org.xwiki.platform:xwiki-platform-rendering-wikimacro-store

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

>= 16.5.0-rc-1, < 16.10.3

16.10.3

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

org.xwiki.platform:xwiki-platform-rendering-wikimacro-store

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

>= 17.0.0-rc-1, < 17.0.0

17.0.0

EPSS

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

8.7 High

CVSS4

Дефекты

CWE-94

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

CVSS3: 8.8
nvd
8 месяцев назад

XWiki is a generic wiki platform. Any user with edit right on a page (could be the user's profile) can execute code (Groovy, Python, Velocity) with programming right by defining a wiki macro. This allows full access to the whole XWiki installation. The main problem is that if a wiki macro parameter allows wiki syntax, its default value is executed with the rights of the author of the document where it is used. This can be exploited by overriding a macro like the children macro that is used in a page that has programming right like the page XWiki.ChildrenMacro and thus allows arbitrary script macros. This vulnerability has been patched in XWiki 16.4.7, 16.10.3 and 17.0.0 by executing wiki parameters with the rights of the wiki macro's author when the parameter's value is the default value.

CVSS3: 8.8
fstec
8 месяцев назад

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

EPSS

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

8.7 High

CVSS4

Дефекты

CWE-94