CVE-2023-48292CWE-352

XWiki Admin Tools Application Run Shell Command allows CSRF RCE attacks

Critical · published November 20, 2023

CVSS v3.1
9.7
EPSS
23%
Percentile
97.7
In the wild
Unconfirmed
What it is

🚨 An unsuspecting admin can be led to run dangerous shell commands with just a simple trick! This CSRF vulnerability in XWiki's Admin Tools is an absolute game-changer for attackers. 🔥 Think of it as a prankster slipping a false emergency message under the door of a fire station, leading the firefighters to respond to a non-existent blaze. In this case, an admin gets tricked into executing potentially harmful commands just by viewing a comment. An attacker could exploit this by creating files, executing commands, or compromising the entire XWiki installation without the admin knowing. This means they could not only wreak havoc on the system but also steal sensitive information, putting users’ data at risk!

Put simply

Think of it as a prankster slipping a false emergency message under the door of a fire station, leading the firefighters to respond to a non-existent blaze. In this case, an admin gets tricked into executing potentially harmful commands just by viewing a comment. This vulnerability allows an attacker to execute arbitrary shell commands on the server by tricking an admin into clicking a specially crafted link that runs without proper authorization checks, leading to complete control over the XWiki environment.

What to do

An attacker could exploit this by creating files, executing commands, or compromising the entire XWiki installation without the admin knowing. This means they could not only wreak havoc on the system but also steal sensitive information, putting users’ data at risk! Patch immediately to version 4.5.1 to implement the new form token check. If you can't update right away, manually apply the patch or consider deleting the `Admin.RunShellCommand` document if its functionality isn’t needed. Don't forget to audit your comments for any suspicious URLs! You've got this! Secure your XWiki environment and keep those pesky attackers at bay! 🛡️

The record
Technical detail
CVSS v3.1
9.7 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.22938 · 97.7th percentile
Weakness
CWE-352 · Cross-Site Request Forgery (CSRF)
Published
2023-11-20T18:02Z
EPSS history
Timeline
  • 20 NOV 18:02Z
    XWiki Admin Tools Application Run Shell Command allows CSRF RCE attacks
    cvelistv5