Loading...
Skip to main content

CVE-2023-26471

CRITICAL

XWiki Platform users may execute anything with superadmin right through comments and async macro

Published March 3, 2023Updated November 8, 2023Source: osv

Summary

### Impact Comments are supposed to be executed with the right of superadmin but in restricted mode (anything dangerous is disabled) but the async macro is not taking 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 as in: {{async}} {{groovy}}println "it works !"{{/groovy}} {{/async}} ### Patches This has been patched in XWiki 14.9, 14.4.6, and 13.10.10. ### Workarounds The only known workaround consists in applying [the following patch](https://github.com/xwiki/xwiki-platform/commit/00532d9f1404287cf3ec3a05056640d809516006) and rebuilding and redeploying `org.xwiki.platform:xwiki-platform-rendering-async-macro`. ### References * https://jira.xwiki.org/browse/XWIKI-20234 ### For more information If you have any questions or comments about this advisory: * Open an issue in [Jira](http://jira.xwiki.org) * Email us at [Security ML](mailto:security@xwiki.org)

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update org.xwiki.platform:xwiki-platform-rendering-async-macro to 14.9 or later
<!-- Update pom.xml dependency version to 14.9 for org.xwiki.platform:xwiki-platform-rendering-async-macro -->
Maven
Update org.xwiki.platform:xwiki-platform-rendering-async-macro to 13.10.10 or later
<!-- Update pom.xml dependency version to 13.10.10 for org.xwiki.platform:xwiki-platform-rendering-async-macro -->
Maven
Update org.xwiki.platform:xwiki-platform-rendering-async-macro to 14.4.6 or later
<!-- Update pom.xml dependency version to 14.4.6 for org.xwiki.platform:xwiki-platform-rendering-async-macro -->

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (3)

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.9 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2023-26471?
XWiki Platform users may execute anything with superadmin right through comments and async macro This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.9/10).
How do I check if my project is affected by CVE-2023-26471?
CVE-2023-26471 affects org.xwiki.platform:xwiki-platform-rendering-async-macro. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2023-26471 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.9

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-9cqm-5wf7-wcj7

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies