CVE-2023-40573CWE-284

XWiki Platform's Groovy jobs check the wrong author, allowing remote code execution

Critical · published August 24, 2023

CVSS v3.1
9.1
EPSS
1%
Percentile
64.9
In the wild
Unconfirmed
What it is

🚨 A crafty combination of CSRF and job author mishaps means an attacker can execute anything they fancy on your XWiki! 🔥 Think of this like a logbook at a construction site that only records the name of the person who wrote in it, not who actually made the changes. If someone sneaks in and scribbles a note to demolish a wall, nobody checks who authorized it! If exploited, an attacker could unleash complete chaos on your wiki, executing arbitrary code with the same privileges as the content author. This could lead to data leaks, unauthorized modifications, or even total takeover of your environment — an absolutely devastating situation!

Put simply

Think of this like a logbook at a construction site that only records the name of the person who wrote in it, not who actually made the changes. If someone sneaks in and scribbles a note to demolish a wall, nobody checks who authorized it! This vulnerability arises due to the job script author not updating when modifications are made, combined with a CSRF flaw in the job scheduler, allowing attackers to run arbitrary Groovy scripts if they have edit rights.

What to do

If exploited, an attacker could unleash complete chaos on your wiki, executing arbitrary code with the same privileges as the content author. This could lead to data leaks, unauthorized modifications, or even total takeover of your environment — an absolutely devastating situation! Patch your XWiki installation to versions 14.10.9 or 15.4RC1 immediately. Review user permissions carefully and consider implementing additional CSRF protections to bolster your defenses. This is fixable! Stay proactive, and you'll have your XWiki secured in no time! 🛡️

The record
Technical detail
CVSS v3.1
9.1 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01081 · 64.9th percentile
Weakness
CWE-284 · Improper Access Control
Published
2023-08-24T01:31Z
EPSS history
Timeline
  • 24 AUG 01:31Z
    XWiki Platform's Groovy jobs check the wrong author, allowing remote code execution
    cvelistv5