XWiki RCE via CSRF Exploitable Groovy Scheduler before 14.10.9
CVE-2023-40573 Published on August 24, 2023

XWiki Platform's Groovy jobs check the wrong author, allowing remote code execution
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. XWiki supports scheduled jobs that contain Groovy scripts. Currently, the job checks the content author of the job for programming right. However, modifying or adding a job script to a document doesn't modify the content author. Together with a CSRF vulnerability in the job scheduler, this can be exploited for remote code execution by an attacker with edit right on the wiki. If the attack is successful, an error log entry with "Job content executed" will be produced. This vulnerability has been patched in XWiki 14.10.9 and 15.4RC1.

Github Repository NVD

Vulnerability Analysis

CVE-2023-40573 can be exploited with network access, requires user interaction and a small amount of user privileges. This vulnerability is considered to have a low attack complexity. Public availability of a proof of concept (POC) exploit exists for CVE-2023-40573. The potential impact of an exploit of this vulnerability is considered to be critical as this vulnerability has a high impact to the confidentiality, integrity and availability of this component.

Attack Vector:
NETWORK
Attack Complexity:
LOW
Privileges Required:
LOW
User Interaction:
REQUIRED
Scope:
CHANGED
Confidentiality Impact:
HIGH
Integrity Impact:
HIGH
Availability Impact:
HIGH

Weakness Type

What is an Authorization Vulnerability?

The software does not restrict or incorrectly restricts access to a resource from an unauthorized actor.

CVE-2023-40573 has been classified to as an Authorization vulnerability or weakness.


Products Associated with CVE-2023-40573

Want to know whenever a new CVE is published for Xwiki? stack.watch will email you.

 

Affected Versions

xwiki-platform: xwiki-platform:

Vulnerable Packages

The following package name and versions may be associated with CVE-2023-40573

Package Manager Vulnerable Package Versions Fixed In
maven org.xwiki.platform:xwiki-platform-scheduler-api < 14.10.9 14.10.9
maven com.xpn.xwiki.platform.plugins:xwiki-plugin-scheduler >= 1.3
maven org.xwiki.platform:xwiki-platform-scheduler-api >= 15.0-rc-1, < 15.4-rc-1 15.4-rc-1

Exploit Probability

EPSS
3.64%
Percentile
88.04%

EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.