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

exploitDog

github логотип

GHSA-35j5-m29r-xfq5

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

Описание

XWiki Rendering's footnote macro vulnerable to privilege escalation via the footnote macro

Impact

The footnote macro executed its content in a potentially different context than the one in which it was defined. In particular in combination with the include macro, this allows privilege escalation from a simple user account in XWiki to programming rights and thus remote code execution, impacting the confidentiality, integrity and availability of the whole XWiki installation.

To reproduce, perform the following steps:

  1. Edit your user profile with the object editor and add an object of type DocumentSheetBinding with value XWiki.ClassSheet
  2. Edit your user profile with the wiki editor and add the syntax {{footnote}}{{groovy}}println("Hello " + "from groovy!"){{/groovy}}{{/footnote}}

When the text "Hello from groovy!" is displayed at the bottom of the document, the installation is vulnerable. Instead, an error should be displayed.

Patches

This vulnerability has been patched in XWiki 14.10.6 and 15.1-rc-1.

Workarounds

There is no workaround apart from upgrading to a fixed version of the footnote macro.

References

Пакеты

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

org.xwiki.rendering:xwiki-rendering-macro-footnotes

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

< 14.10.6

14.10.6

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

org.xwiki.rendering:xwiki-rendering-macro-footnotes

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

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

15.1-rc-1

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

org.xwiki.platform:xwiki-core-rendering-macro-footnotes

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

< 14.10.6

14.10.6

EPSS

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

8.8 High

CVSS3

Дефекты

CWE-270

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

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

XWiki Rendering is a generic Rendering system that converts textual input in a given syntax into another syntax. Prior to version 14.10.6 of `org.xwiki.platform:xwiki-core-rendering-macro-footnotes` and `org.xwiki.platform:xwiki-rendering-macro-footnotes` and prior to version 15.1-rc-1 of `org.xwiki.platform:xwiki-rendering-macro-footnotes`, the footnote macro executed its content in a potentially different context than the one in which it was defined. In particular in combination with the include macro, this allows privilege escalation from a simple user account in XWiki to programming rights and thus remote code execution, impacting the confidentiality, integrity and availability of the whole XWiki installation. This vulnerability has been patched in XWiki 14.10.6 and 15.1-rc-1. There is no workaround apart from upgrading to a fixed version of the footnote macro.

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

Уязвимость системы рендеринга XWiki Rendering, связанная с ошибками переключения контекста привилегий, позволяющая нарушителю повысить свои привилегии

EPSS

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

8.8 High

CVSS3

Дефекты

CWE-270