CVE-2023-37913CWE-22CWE-23

org.xwiki.platform:xwiki-platform-office-importer vulnerable to arbitrary server side file writing from account through office converter

Critical · published October 25, 2023

CVSS v3.1
10.0
EPSS
1%
Percentile
64.8
In the wild
Unconfirmed
What it is

🚨 A specially crafted file name can write to any location on your server, turning your XWiki installation into an attacker's playground! 🔥 Think of it like a sneaky delivery driver who, instead of just dropping off a package, decides to leave it in a different apartment within your building — one that's not theirs! In this case, your server is the building, and the crafted file name is the misdelivered package. If exploited, an attacker could replace critical files, including the `jar` files of extensions, effectively allowing arbitrary Java code execution. This could lead to a complete compromise of confidentiality, integrity, and availability for your XWiki installation—imagine all your wiki secrets spilled and the whole thing brought to a standstill!

Put simply

Think of it like a sneaky delivery driver who, instead of just dropping off a package, decides to leave it in a different apartment within your building — one that's not theirs! In this case, your server is the building, and the crafted file name is the misdelivered package. This vulnerability in XWiki allows a malicious user to upload an attachment with a specially crafted file name, leveraging the office converter feature, which can write the attachment's content to an attacker-controlled location on the server.

What to do

If exploited, an attacker could replace critical files, including the `jar` files of extensions, effectively allowing arbitrary Java code execution. This could lead to a complete compromise of confidentiality, integrity, and availability for your XWiki installation—imagine all your wiki secrets spilled and the whole thing brought to a standstill! Immediately patch your XWiki installation to versions 14.10.8 or 15.3-rc-1. If you can't patch right away, disable the office converter to prevent exploitation while you work on the update. Be sure to review file permissions too! You've got this! With these steps, you can secure your XWiki and keep your data safe! 🛡️

The record
Technical detail
CVSS v3.1
10.0 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01076 · 64.8th percentile
Weaknesses
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'); CWE-23 · Relative Path Traversal
Published
2023-10-25T17:59Z
EPSS history
Timeline
  • 25 OCT 17:59Z
    org.xwiki.platform:xwiki-platform-office-importer vulnerable to arbitrary server side file writing from account through office converter
    cvelistv5