Vulnerability · Published Nov 7, 2023 · Assigned by GitHub_M
CVE-2023-46244Privilege escalation in Xwiki platform
Critical 9.1
In plain English
A critical-severity incorrect authorization 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.8% (higher than 56% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. In affected versions it's possible for a user to write a script in which any velocity content is executed with the right of any other document content author. Since this API require programming right and the user does not have it, the expected result is `$doc.document.authors.contentAuthor` (not executed script), unfortunately with the security vulnerability it is possible for the attacker to get `XWiki.superadmin` which shows that the title was executed with the right of the unmodified document. This has been patched in XWiki versions 14.10.7 and 15.2RC1. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.xwiki.platform:xwiki-platform-display-api | 14.10.7 | GHSA-rmxw-c48h-2vf5 |
| Maven | org.xwiki.platform:xwiki-platform-display-api | 15.2-rc-1 | GHSA-rmxw-c48h-2vf5 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| xwiki | xwiki-platform | >= 3.2-milestone-3, < 14.10.7 |
Weakness: CWE-863 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
References
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-rmxw-c48h-2vf5 x_refsource_CONFIRM
- https://github.com/xwiki/xwiki-platform/commit/11a9170dfe63e59f4066db67f84dbfce4ed619c6 x_refsource_MISC
- https://github.com/xwiki/xwiki-platform/commit/41d7dca2d30084966ca6a7ee537f39ee8354a7e3 x_refsource_MISC
- https://jira.xwiki.org/browse/XWIKI-20624 x_refsource_MISC
- https://jira.xwiki.org/browse/XWIKI-20625 x_refsource_MISC