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

exploitDog

github логотип

GHSA-7954-6m9q-gpvf

Опубликовано: 18 авг. 2023
Источник: github
Github: Прошло ревью
CVSS3: 9.9

Описание

XWiki Platform privilege escalation (PR)/RCE from account through Invitation subject/message

Impact

Any user who can view Invitation.WebHome can execute arbitrary script macros including Groovy and Python macros that allow remote code execution including unrestricted read and write access to all wiki contents. This can be reproduced with the following steps:

  1. Open the invitation application (Invitation.WebHome).
  2. Set the subject to {{cache}}{{groovy}}new File("/tmp/exploit.txt").withWriter { out -> out.println("Attacked from invitation!"); }{{/groovy}}{{/cache}}
  3. Click "Preview"

Patches

The vulnerability has been patched on XWiki 14.4.8, 15.2-rc-1, and 14.10.6.

Workarounds

The vulnerability can be patched manually by applying the patch on Invitation.InvitationCommon and Invitation.InvitationConfig.

References

For more information

If you have any questions or comments about this advisory:

Пакеты

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

org.xwiki.platform:xwiki-platform-invitation-ui

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

>= 2.5-m-1, < 14.4.8

14.4.8

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

org.xwiki.platform:xwiki-platform-invitation-ui

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

>= 14.5, < 14.10.6

14.10.6

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

org.xwiki.platform:xwiki-platform-invitation-ui

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

>= 15.0-rc-1, < 15.2-rc-1

15.2-rc-1

EPSS

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

9.9 Critical

CVSS3

Дефекты

CWE-94
CWE-95

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

CVSS3: 9.9
nvd
больше 2 лет назад

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Any user who can view `Invitation.WebHome` can execute arbitrary script macros including Groovy and Python macros that allow remote code execution including unrestricted read and write access to all wiki contents. This vulnerability has been patched on XWiki 14.4.8, 15.2-rc-1, and 14.10.6. Users are advised to upgrade. Users unable to upgrade may manually apply the patch on `Invitation.InvitationCommon` and `Invitation.InvitationConfig`, but there are otherwise no known workarounds for this vulnerability.

CVSS3: 8.8
fstec
больше 2 лет назад

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

EPSS

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

9.9 Critical

CVSS3

Дефекты

CWE-94
CWE-95