CVE-2022-23622

Description

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. In affected versions there is a cross site scripting (XSS) vector in the registerinline.vm template related to the xredirect hidden field. This template is only used in the following conditions: 1. The wiki must be open to registration for anyone. 2. The wiki must be closed to view for Guest users or more specifically the XWiki.Registration page must be forbidden in View for guest user. A way to obtain the second condition is when administrators checked the "Prevent unregistered users from viewing pages, regardless of the page rights" box in the administration rights. This issue is patched in versions 12.10.11, 14.0-rc-1, 13.4.7, 13.10.3. There are two main ways for protecting against this vulnerability, the easiest and the best one is by applying a patch in the registerinline.vm template, the patch consists in checking the value of the xredirect field to ensure it matches: . If for some reason its not possible to patch this file, another workaround is to 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.

Risk Information

Base Score
6.1
MODERATE
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS Score
Exploitation Probability
0.498

Associated Vulnerability

VulnerabilityOS Platform
Vulnerabilities CVE-2022-24819,CVE-2022-23622 are fixed in XWiki - platform-web-templates 12.10.11Windows
Vulnerabilities CVE-2022-23622 are fixed in XWiki - platform-web-templates 13.4.7Windows
Vulnerabilities CVE-2022-23622 are fixed in XWiki - platform-web-templates 13.10.3Windows
Vulnerabilities CVE-2022-24819,CVE-2022-23622 are fixed in XWiki - platform-web-templates for Linux 12.10.11Linux
Vulnerabilities CVE-2022-23622 are fixed in XWiki - platform-web-templates for Linux 13.4.7Linux
Vulnerabilities CVE-2022-23622 are fixed in XWiki - platform-web-templates for Linux 13.10.3Linux

Patch Details

No records found

References

https://nvd.nist.gov/vuln/detail/CVE-2023-1234
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1234