CVE-2023-37277CWE-352

XWiki Platform vulnerable to cross-site request forgery (CSRF) via the REST API

Critical · published July 10, 2023

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

🚨 A sneaky Cross-Site Request Forgery (CSRF) attack could let an unauthorized user execute remote code on your XWiki installation with just a single POST request!🔥 Think of it like a restaurant that allows customers to place orders without checking who they are. If someone sneaks in and sends an order, your kitchen might just follow it without question, potentially ruining the dinner service! An attacker could exploit this vulnerability to remotely execute scripts, wreaking havoc on your XWiki system. This could lead to unauthorized data access, information theft, or even complete control over your installation, compromising its integrity, availability, and confidentiality. Yikes!

Put simply

Think of it like a restaurant that allows customers to place orders without checking who they are. If someone sneaks in and sends an order, your kitchen might just follow it without question, potentially ruining the dinner service! XWiki's REST API accepts various content types via POST requests, exposing it to CSRF vulnerabilities. If a user with programming rights interacts with the API, the attacker can execute malicious scripts, leading to remote code execution.

What to do

An attacker could exploit this vulnerability to remotely execute scripts, wreaking havoc on your XWiki system. This could lead to unauthorized data access, information theft, or even complete control over your installation, compromising its integrity, availability, and confidentiality. Yikes! Update to XWiki version 14.10.8 or 15.2 immediately to enable CSRF token verification for sensitive requests. Consider configuring your SameSite cookie settings in Firefox and Safari to enhance protection against CSRF attacks. 🛡️ You’ve got this! By following these steps, you’ll bolster your defenses and keep your XWiki safe and sound! 🚀

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.00669 · 51.3th percentile
Weakness
CWE-352 · Cross-Site Request Forgery (CSRF)
Published
2023-07-10T16:11Z
EPSS history
Timeline
  • 10 JUL 16:11Z
    XWiki Platform vulnerable to cross-site request forgery (CSRF) via the REST API
    cvelistv5