Vulnerability · Published Apr 18, 2023 · Assigned by GitHub_M
CVE-2023-29525Privilege escalation from view right on XWiki.Notifications.Code.LegacyNotificationAdministration in xwiki-platform
Critical 10.0
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 77.8% (higher than 99.6% 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. Affected versions of xwiki are subject to code injection in the `since` parameter of the `/xwiki/bin/view/XWiki/Notifications/Code/LegacyNotificationAdministration` endpoint. This provides an XWiki syntax injection attack via the since-parameter, allowing privilege escalation from view to programming rights and subsequent code execution privilege. The vulnerability has been patched in XWiki 15.0-rc-1, 14.10.3, 14.4.8 and 14.10.3. Users are advised to upgrade. Users unable to upgrade may modify the page `XWiki.Notifications.Code.LegacyNotificationAdministration` to add the missing escaping. For versions < 14.6-rc-1 a workaround is to modify the file `<xwikiwebapp>/templates/distribution/eventmigration.wiki` to add the missing escaping.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.xwiki.platform:xwiki-platform-distribution-war | 13.10.11 | GHSA-jgg7-w2rj-58cj |
| Maven | org.xwiki.platform:xwiki-platform-distribution-war | 14.4.8 | GHSA-jgg7-w2rj-58cj |
| Maven | org.xwiki.platform:xwiki-platform-distribution-war | 14.6-rc-1 | GHSA-jgg7-w2rj-58cj |
| Maven | org.xwiki.platform:xwiki-platform-legacy-events-hibernate-ui | 14.10.3 | GHSA-jgg7-w2rj-58cj |
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:H
References
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-jgg7-w2rj-58cj x_refsource_CONFIRM
- https://github.com/xwiki/xwiki-platform/commit/6d74e2e4aa03d19f0be385ab63ae9e0f0e90a766 x_refsource_MISC
- https://github.com/xwiki/xwiki-platform/commit/8e7c7f90f2ddaf067cb5b83b181af41513028754#diff-4e13f4ee4a42938bf1201b7ee71ca32edeacba22559daf0bcb89d534e0225949R70 x_refsource_MISC
- https://jira.xwiki.org/browse/XWIKI-20287 x_refsource_MISC