Vulnerability · Published Mar 2, 2023 · Assigned by GitHub_M
CVE-2023-26471XWiki Platform users may execute anything with superadmin right through comments and async macro
Critical 10.0
In plain English
A critical-severity improper access control 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.9% (higher than 60% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
XWiki Platform is a generic wiki platform. Starting in version 11.6-rc-1, comments are supposed to be executed with the right of superadmin but in restricted mode (anything dangerous is disabled), but the async macro does not take into account the restricted mode. This means that any user with comment right can use the async macro to make it execute any wiki content with the right of superadmin. This has been patched in XWiki 14.9, 14.4.6, and 13.10.10. The only known workaround consists of applying a patch and rebuilding and redeploying `org.xwiki.platform:xwiki-platform-rendering-async-macro`.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.xwiki.platform:xwiki-platform-rendering-async-macro | 13.10.10 | GHSA-9cqm-5wf7-wcj7 |
| Maven | org.xwiki.platform:xwiki-platform-rendering-async-macro | 14.4.6 | GHSA-9cqm-5wf7-wcj7 |
| Maven | org.xwiki.platform:xwiki-platform-rendering-async-macro | 14.9 | GHSA-9cqm-5wf7-wcj7 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| xwiki | xwiki-platform | >= 11.6-rc-1, < 13.10.10>= 14.0, < 14.4.6>= 14.5, < 14.9 |
Weakness: CWE-284 · 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-9cqm-5wf7-wcj7 x_refsource_CONFIRM
- https://github.com/xwiki/xwiki-platform/commit/00532d9f1404287cf3ec3a05056640d809516006 x_refsource_MISC
- https://jira.xwiki.org/browse/XWIKI-20234 x_refsource_MISC