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

exploitDog

github логотип

GHSA-p5f8-qf24-24cj

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

Описание

Velocity execution without script right through tree macro

Impact

It's possible to execute a Velocity script without script right through the document tree.

To reproduce:

  • As a user without script right, create a document, e.g., named Nasty Title
  • Set the document's title to $request.requestURI
  • Click "Save & View"
  • Reload the page in the browser

The navigation panel displays a document named with the current URL, showing that the Velocity code has been executed even though the user doesn't have script right.

Patches

This has been patched in XWiki 14.10.7 and 15.2RC1.

Workarounds

A possible workaround is to:

  • modify the page XWiki.DocumentTreeMacros
  • search for the code #set ($discard = $translatedDocument.setTitle($translatedDocument.title))
  • modify it into #set ($discard = $translatedDocument.setcomment(''))

References

For more information

If you have any questions or comments about this advisory:

Пакеты

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

org.xwiki.platform:xwiki-platform-index-tree-macro

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

>= 8.3-rc-1, < 14.10.7

14.10.7

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

org.xwiki.platform:xwiki-platform-index-tree-macro

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

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

15.2-rc-1

EPSS

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

8.3 High

CVSS3

Дефекты

CWE-863

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

CVSS3: 8.3
nvd
около 2 лет назад

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. It's possible to execute a Velocity script without script right through the document tree. This has been patched in XWiki 14.10.7 and 15.2RC1.

EPSS

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

8.3 High

CVSS3

Дефекты

CWE-863