CVE-2023-40177CWE-95

XWiki Platform privilege escalation (PR) from account through AWM content fields

Critical · published August 23, 2023

CVSS v3.1
9.9
EPSS
1%
Percentile
64.2
In the wild
Unconfirmed
What it is

🚨 Registered users can now perform rights escalation using their own profile page! This XWiki Platform vulnerability lets anyone execute arbitrary scripts with elevated privileges—it's like giving your house keys to a stranger under the pretense of a friendly visit! 🔥 Think of it like a hotel where guests can sneak into the staff-only areas by just modifying their own reservation details. If the front desk doesn’t check who’s accessing what, then anyone could waltz right into the kitchen or manager’s office! An attacker exploiting this vulnerability could run malicious scripts that allow them to access sensitive data or even take control of the entire XWiki instance. It’s a gateway for a user to impersonate others and execute destructive actions—all thanks to a gaping oversight in user profile permissions. The fallout could be absolutely devastating!

Put simply

Think of it like a hotel where guests can sneak into the staff-only areas by just modifying their own reservation details. If the front desk doesn’t check who’s accessing what, then anyone could waltz right into the kitchen or manager’s office! This vulnerability arises from the AppWithinMinutes Application allowing registered users to execute scripts in their profile content field. The custom displayer executes the content with the rights of the content author, not the profile author, leading to unauthorized access and rights escalation.

What to do

An attacker exploiting this vulnerability could run malicious scripts that allow them to access sensitive data or even take control of the entire XWiki instance. It’s a gateway for a user to impersonate others and execute destructive actions—all thanks to a gaping oversight in user profile permissions. The fallout could be absolutely devastating! To mitigate this issue, immediately update to XWiki version 14.10.5 or 15.1RC1. Review and restrict user permissions, and ensure that the display script correctly checks the author’s rights before executing any content. Don’t wait—this is critical! You've got this—take action now and secure your XWiki environment! 🛡️

The record
Technical detail
CVSS v3.1
9.9 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L
CVSS v4.0
Not supplied
EPSS
0.01058 · 64.2th percentile
Weakness
CWE-95 · Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
Published
2023-08-23T20:11Z
EPSS history
Timeline
  • 23 AUG 20:11Z
    XWiki Platform privilege escalation (PR) from account through AWM content fields
    cvelistv5