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

exploitDog

github логотип

GHSA-834c-x29c-f42c

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

Описание

XWiki Platform vulnerable to reflected cross-site scripting via xredirect parameter in delete template

Impact

Users are able to forge an URL with a payload allowing to inject Javascript in the page (XSS). It's possible to exploit the delete template to perform a XSS, e.g. by using URL such as:

xwiki/bin/get/FlamingoThemes/Cerulean?xpage=xpart&vm=delete.vm&xredirect=javascript:alert(document.domain)

This vulnerability exists since XWiki 6.0-rc-1.

Patches

The vulnerability has been patched in XWiki 14.10.6 and 15.1. Note that a partial patch has been provided in 14.10.5 but wasn't enough to entirely fix the vulnerability.

Workarounds

It's possible to workaround the vulnerability by editing the template delete.vm to perform checks on it, but note that the appropriate fix involves new APIs that have been recently introduced in XWiki. See the referenced jira tickets.

References

For more information

If you have any questions or comments about this advisory:

Attribution

This vulnerability has been reported by René de Sain @renniepak.

Пакеты

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

org.xwiki.platform:xwiki-platform-flamingo-skin-resources

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

>= 6.0-rc-1, < 14.10.6

14.10.6

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

org.xwiki.platform:xwiki-platform-flamingo-skin-resources

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

>= 15.0-rc-0, < 15.1

15.1

EPSS

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

9.6 Critical

CVSS3

Дефекты

CWE-79
CWE-87

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

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

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Users are able to forge an URL with a payload allowing to inject Javascript in the page (XSS). It's possible to exploit the delete template to perform a XSS, e.g. by using URL such as: > xwiki/bin/get/FlamingoThemes/Cerulean?xpage=xpart&vm=delete.vm&xredirect=javascript:alert(document.domain). This vulnerability exists since XWiki 6.0-rc-1. The vulnerability has been patched in XWiki 14.10.6 and 15.1. Note that a partial patch has been provided in 14.10.5 but wasn't enough to entirely fix the vulnerability.

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

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

EPSS

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

9.6 Critical

CVSS3

Дефекты

CWE-79
CWE-87