Loading...
Skip to main content

CVE-2023-26474

CRITICAL

XWiki Platform vulnerable to privilege escalation via properties with wiki syntax that are executed with wrong author

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

Summary

### Impact It's possible to use the right of an existing document content author to execute a text area property. To reproduce: * As an admin with programming rights, create a new user without script or programming right. * Login with the freshly created user. * Insert the following text in source mode in the about section: ``` {{groovy}}println("hello from groovy!"){{/groovy}} ``` * Click "Save & View" ### Patches This has been patched in XWiki 14.10, 14.4.7, and 13.10.11. ### Workarounds No known workaround. ### References https://jira.xwiki.org/browse/XWIKI-20373 ### 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-oldcore to 14.4.7 or later
<!-- Update pom.xml dependency version to 14.4.7 for org.xwiki.platform:xwiki-platform-oldcore -->
Maven
Update org.xwiki.platform:xwiki-platform-legacy-oldcore to 14.4.7 or later
<!-- Update pom.xml dependency version to 14.4.7 for org.xwiki.platform:xwiki-platform-legacy-oldcore -->
Maven
Update org.xwiki.platform:xwiki-platform-legacy-oldcore to 14.10 or later
<!-- Update pom.xml dependency version to 14.10 for org.xwiki.platform:xwiki-platform-legacy-oldcore -->
Maven
Update org.xwiki.platform:xwiki-platform-oldcore to 14.10 or later
<!-- Update pom.xml dependency version to 14.10 for org.xwiki.platform:xwiki-platform-oldcore -->
Maven
Update org.xwiki.platform:xwiki-platform-legacy-oldcore to 13.10.11 or later
<!-- Update pom.xml dependency version to 13.10.11 for org.xwiki.platform:xwiki-platform-legacy-oldcore -->
Maven
Update org.xwiki.platform:xwiki-platform-oldcore to 13.10.11 or later
<!-- Update pom.xml dependency version to 13.10.11 for org.xwiki.platform:xwiki-platform-oldcore -->

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

Affected Packages (6)

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-26474?
XWiki Platform vulnerable to privilege escalation via properties with wiki syntax that are executed with wrong author 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-26474?
CVE-2023-26474 affects org.xwiki.platform:xwiki-platform-oldcore and org.xwiki.platform:xwiki-platform-legacy-oldcore. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2023-26474 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-3738-p9x3-mv9r

Related CVEs

Check if you're affected

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

Scan Your Dependencies