Vulnerability · Published Dec 12, 2024 · Assigned by GitHub_M
CVE-2024-55877XWiki allows remote code execution from account through macro descriptions and XWiki.XWikiSyntaxMacrosList
Critical 10.0
In plain English
A critical-severity security flaw 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.6% (higher than 76% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
XWiki Platform is a generic wiki platform. Starting in version 9.7-rc-1 and prior to versions 15.10.11, 16.4.1, and 16.5.0, any user with an account can perform arbitrary remote code execution by adding instances of `XWiki.WikiMacroClass` to any page. This compromises the confidentiality, integrity and availability of the whole XWiki installation. This vulnerability has been fixed in XWiki 15.10.11, 16.4.1 and 16.5.0. It is possible to manually apply the patch to the page `XWiki.XWikiSyntaxMacrosList` as a workaround.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.xwiki.platform:xwiki-platform-help-ui | 15.10.11 | GHSA-2r87-74cx-2p7c |
| Maven | org.xwiki.platform:xwiki-platform-help-ui | 16.4.1 | GHSA-2r87-74cx-2p7c |
| Maven | org.xwiki.platform:xwiki-platform-help-ui | 16.5.0 | GHSA-2r87-74cx-2p7c |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| xwiki | xwiki-platform | >= 9.7-rc-1, < 15.10.11>= 16.0.0-rc-1, < 16.4.1>= 16.5.0-rc-1, < 16.5.0 |
Weakness: CWE-96 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
References
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-2r87-74cx-2p7c x_refsource_CONFIRM
- https://github.com/xwiki/xwiki-platform/commit/40e1afe001d61eafdf13f3621b4b597a0e58a3e3 x_refsource_MISC
- https://jira.xwiki.org/browse/XWIKI-22030 x_refsource_MISC