Vulnerability · Published Apr 18, 2023 · Assigned by GitHub_M
CVE-2023-29522Code injection from view right on XWiki.ClassSheet in xwiki-platform
Critical 9.9
In plain English
A critical-severity injection in xwiki-platform from xwiki. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.9% (higher than 79% 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. Any user with view rights can execute arbitrary script macros including Groovy and Python macros that allow remote code execution including unrestricted read and write access to all wiki contents. The attack works by opening a non-existing page with a name crafted to contain a dangerous payload. This issue has been patched in XWiki 14.4.8, 14.10.3 and 15.0RC1. 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-xclass-ui | 14.4.8 | GHSA-mjw9-3f9f-jq2w |
| Maven | org.xwiki.platform:xwiki-platform-xclass-ui | 14.10.3 | GHSA-mjw9-3f9f-jq2w |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| xwiki | xwiki-platform | < 14.4.8>= 14.5.0, < 14.10.3 |
Weakness: CWE-74 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L
References
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-mjw9-3f9f-jq2w x_refsource_CONFIRM
- https://github.com/xwiki/xwiki-platform/commit/d7e56185376641ee5d66477c6b2791ca8e85cfee x_refsource_MISC
- https://jira.xwiki.org/browse/XWIKI-20456 x_refsource_MISC