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.

Severity (CVSS 3.1)10.0Critical
Exploit odds (30 days)0.9%top 39.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Mavenorg.xwiki.platform:xwiki-platform-rendering-async-macro13.10.10GHSA-9cqm-5wf7-wcj7
Mavenorg.xwiki.platform:xwiki-platform-rendering-async-macro14.4.6GHSA-9cqm-5wf7-wcj7
Mavenorg.xwiki.platform:xwiki-platform-rendering-async-macro14.9GHSA-9cqm-5wf7-wcj7

Affected products (as reported)

VendorProductVersions
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