CVE-2023-46244 Privilege escalation in Xwiki platform

Critical 9.1 Published Updated

Attackers can execute Velocity scripts with the privileges of other document authors, leading to privilege escalation and potential code execution.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-46244?

CVE-2023-46244 is a critical vulnerability in Xwiki Xwiki, published on 7 Nov 2023. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. In affected versions it's possible for a user to write a script in which any velocity content is executed with the right of any other document content author. Since this API require programming right and the user does not have it, the expected result is `$doc.document.authors.contentAuthor` (not executed script), unfortunately with the security vulnerability it is possible for the attacker to get `XWiki.superadmin` which shows that the title was executed with the right of the unmodified document. This has been patched in XWiki versions 14.10.7 and 15.2RC1. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Weakness: CWE-863

Which versions are affected by CVE-2023-46244?

4 open source packages ship an affected version, including org.xwiki.platform:xwiki-platform-display-api. It affects 1 product.

PackageAffectedFixed in
org.xwiki.platform:xwiki-platform-display-api MavenFrom 15.015.2-rc-1
org.xwiki.platform:xwiki-platform-display-api MavenFrom 15.015.2-rc-1
org.xwiki.platform:xwiki-platform-display-api MavenFrom 3.2-milestone-314.10.7
org.xwiki.platform:xwiki-platform-display-api MavenFrom 3.2-milestone-314.10.7

Products include Xwiki Xwiki.

How do I fix CVE-2023-46244?

Upgrade org.xwiki.platform:xwiki-platform-display-api to a fixed version for your release line: 15.2-rc-1 or 14.10.7.

Is CVE-2023-46244 being exploited?

There is no known exploitation of CVE-2023-46244 in the wild and no public exploit code.

All Xwiki Xwiki vulnerabilities

Sources

Also known as GHSA-rmxw-c48h-2vf5.

Is CVE-2023-46244 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free