PT-2022-16136
CVE-2022-23622
·
Published
2022-02-09
·
Updated
2022-02-15
Description by
CVSS 3.1
7.4
HighMetricsAV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions
XWiki Platform versions prior to 12.10.11
XWiki Platform versions prior to 13.4.7
XWiki Platform versions prior to 13.10.3
XWiki Platform versions prior to 14.0-rc-1
Description
The issue is related to a cross-site scripting (XSS) vector in the
registerinline.vm template, specifically with the xredirect hidden field. This template is used when the wiki is open to registration for anyone and closed to view for Guest users, or when the XWiki.Registration page is forbidden in View for guest users. Administrators can obtain the second condition by checking the "Prevent unregistered users from viewing pages, regardless of the page rights" box in the administration rights.Recommendations
For versions prior to 12.10.11, apply a patch in the
registerinline.vm template to check the value of the xredirect field.
For versions prior to 13.4.7, apply a patch in the registerinline.vm template to check the value of the xredirect field.
For versions prior to 13.10.3, apply a patch in the registerinline.vm template to check the value of the xredirect field.
For versions prior to 14.0-rc-1, apply a patch in the registerinline.vm template to check the value of the xredirect field.
As a temporary workaround, ensure "Prevent unregistered users from viewing pages, regardless of the page rights" is not checked in the rights and apply a better right scheme using groups and rights on spaces.Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾