CVE-2023-29213 org.xwiki.platform:xwiki-platform-logging-ui Injection vulnerability

Critical 9.1 Published Updated

An attacker can trick a user with programming rights into visiting a crafted URL to execute arbitrary code within the XWiki logging UI component.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2023-29213?

CVE-2023-29213 is a critical code injection vulnerability in Xwiki Xwiki, published on 17 Apr 2023. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. In affected versions of `org.xwiki.platform:xwiki-platform-logging-ui` it is possible to trick a user with programming rights into visiting a constructed url where e.g., by embedding an image with this URL in a document that is viewed by a user with programming rights which will evaluate an expression in the constructed url and execute it. This issue has been addressed in versions 13.10.11, 14.4.7, and 14.10. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Weakness: CWE-352, CWE-74

Which versions are affected by CVE-2023-29213?

6 open source packages ship an affected version, including org.xwiki.platform:xwiki-platform-logging-ui. It affects 1 product.

PackageAffectedFixed in
org.xwiki.platform:xwiki-platform-logging-ui MavenFrom 14.0-rc-114.4.7
org.xwiki.platform:xwiki-platform-logging-ui MavenFrom 14.0-rc-114.4.7
org.xwiki.platform:xwiki-platform-logging-ui MavenFrom 14.514.10
org.xwiki.platform:xwiki-platform-logging-ui MavenFrom 14.514.10
org.xwiki.platform:xwiki-platform-logging-ui MavenFrom 4.2-milestone-313.10.11
org.xwiki.platform:xwiki-platform-logging-ui MavenFrom 4.2-milestone-313.10.11

Products include Xwiki Xwiki.

How do I fix CVE-2023-29213?

Upgrade org.xwiki.platform:xwiki-platform-logging-ui to a fixed version for your release line: 14.4.7, 14.10 or 13.10.11.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2023-29213 being exploited?

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

All Xwiki Xwiki vulnerabilities

Sources

Also known as GHSA-4655-wh7v-3vmg.

Is CVE-2023-29213 in your software?

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

Check your SBOMs for free