Vulnerability · Published Apr 15, 2023 · Assigned by GitHub_M
CVE-2023-29209org.xwiki.platform:xwiki-platform-legacy-notification-activitymacro Eval Injection vulnerability
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.1% (higher than 67% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
XWiki Commons are technical libraries common to several other top level XWiki projects. Any user with view rights on commonly accessible documents including the legacy notification activity macro can execute arbitrary Groovy, Python or Velocity code in XWiki leading to full access to the XWiki installation. The root cause is improper escaping of the macro parameters of the legacy notification activity macro. This macro is installed by default in XWiki. The vulnerability can be exploited via every wiki page that is editable including the user's profile, but also with just view rights using the HTMLConverter that is part of the CKEditor integration which is bundled with XWiki. The vulnerability has been patched in XWiki 13.10.11, 14.4.7 and 14.10.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.xwiki.platform:xwiki-platform-legacy-notification-activitymacro | 13.10.11 | GHSA-9pc2-x9qf-7j2q |
| Maven | org.xwiki.platform:xwiki-platform-legacy-notification-activitymacro | 14.4.7 | GHSA-9pc2-x9qf-7j2q |
| Maven | org.xwiki.platform:xwiki-platform-legacy-notification-activitymacro | 14.10 | GHSA-9pc2-x9qf-7j2q |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| xwiki | xwiki-platform | >= 10.9, < 13.10.11>= 14.0-rc-1, < 14.4.7>= 14.5, < 14.10 |
Weakness: CWE-95 · 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-9pc2-x9qf-7j2q x_refsource_CONFIRM
- https://github.com/xwiki/xwiki-platform/commit/94392490884635c028199275db059a4f471e57bc x_refsource_MISC
- https://jira.xwiki.org/browse/XWIKI-20258 x_refsource_MISC