Relative Path Traversal Affecting org.xwiki.platform:xwiki-platform-office-importer package, versions [3.5-milestone-1,14.10.8)[15.0-rc-1,15.3-rc-1)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
1.08% (61st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Relative Path Traversal vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGXWIKIPLATFORM-6036234
  • published26 Oct 2023
  • disclosed25 Oct 2023
  • creditUnknown

Introduced: 25 Oct 2023

CVE-2023-37913  (opens in a new tab)
CWE-23  (opens in a new tab)

How to fix?

Upgrade org.xwiki.platform:xwiki-platform-office-importer to version 14.10.8, 15.3-rc-1 or higher.

Overview

Affected versions of this package are vulnerable to Relative Path Traversal through the office converter feature. An attacker can write the attachment's content to an attacker-controlled location on the server, as long as the Java process has write access to that location. This could be used to replace the jar-file of an extension, allowing the execution of arbitrary Java code, impacting the confidentiality, integrity, and availability of the installation. This is only exploitable if the attachment is uploaded through the REST API which doesn't remove / or \ from the filename.

Mitigation: This vulnerability can be mitigated by disabling the office converter.

CVSS Base Scores

version 3.1