Vulnerability · Published Dec 15, 2023 · Assigned by GitHub_M
CVE-2023-50722XWiki Platform XSS/CSRF Remote Code Execution in XWiki.ConfigurableClass
Critical 9.7
In plain English
A critical-severity cross-site scripting in xwiki-platform from xwiki. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 52% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
XWiki Platform is a generic wiki platform. Starting in 2.3 and prior to versions 14.10.15, 15.5.2, and 15.7-rc-1, there is a reflected XSS or also direct remote code execution vulnerability in the code for displaying configurable admin sections. The code that can be passed through a URL parameter is only executed when the user who is visiting the crafted URL has edit right on at least one configuration section. While any user of the wiki could easily create such a section, this vulnerability doesn't require the attacker to have an account or any access on the wiki. It is sufficient to trick any admin user of the XWiki installation to visit the crafted URL. This vulnerability allows full remote code execution with programming rights and thus impacts the confidentiality, integrity and availability of the whole XWiki installation. This has been fixed in XWiki 14.10.15, 15.5.2 and 15.7RC1. The patch can be manually applied to the document `XWiki.ConfigurableClass`.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.xwiki.platform:xwiki-platform-administration-ui | 14.10.15 | GHSA-cp3j-273x-3jxc |
| Maven | org.xwiki.platform:xwiki-platform-administration-ui | 15.5.2 | GHSA-cp3j-273x-3jxc |
| Maven | org.xwiki.platform:xwiki-platform-administration-ui | 15.7-rc-1 | GHSA-cp3j-273x-3jxc |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| xwiki | xwiki-platform | >= 2.3, < 14.10.15>= 15.0-rc-1, < 15.5.2>= 15.6-rc-1, < 15.7-rc-1 |
Weakness: CWE-79, CWE-352 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
References
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-cp3j-273x-3jxc x_refsource_CONFIRM
- https://github.com/xwiki/xwiki-platform/commit/5e14c8d08fd0c5b619833d35090b470aa4cb52b0 x_refsource_MISC
- https://jira.xwiki.org/browse/XWIKI-21167 x_refsource_MISC