CVE-2023-29524 Code injection from account through XWiki.SchedulerJobSheet in xwiki-platform

Critical 10.0 Published Updated

An attacker can execute arbitrary Groovy code on the server by adding a malicious scheduler job object to their user profile.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-29524?

CVE-2023-29524 is a critical code injection vulnerability in Xwiki Xwiki, published on 18 Apr 2023. Any signed-in user can exploit it over the network, 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. It's possible to execute anything with the right of the Scheduler Application sheet page. A user without script or programming rights, edit your user profile with the object editor and add a new object of type XWiki.SchedulerJobClass, In "Job Script", groovy code can be added and will be executed in the server context on viewing. This has been patched in XWiki 14.10.3 and 15.0 RC1. Users are advised to upgrade. There are no known workarounds for this issue.

Weakness: CWE-74

Which versions are affected by CVE-2023-29524?

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

PackageAffectedFixed in
org.xwiki.platform:xwiki-platform-scheduler-ui MavenFrom 2.0.114.10.3
org.xwiki.platform:xwiki-platform-scheduler-ui MavenFrom 2.0.114.10.3

Products include Xwiki Xwiki.

How do I fix CVE-2023-29524?

Upgrade org.xwiki.platform:xwiki-platform-scheduler-ui to 14.10.3 or later.

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

Is CVE-2023-29524 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-29524 exists.

All Xwiki Xwiki vulnerabilities

Sources

Also known as GHSA-fc42-5w56-qw7h.

Is CVE-2023-29524 in your software?

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

Check your SBOMs for free