Arbitrary Code Injection Affecting org.xwiki.platform:xwiki-platform-administration-ui package, versions [,14.10.14)[15.0-rc-1,15.5.1)


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.28% (70th 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 Arbitrary Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGXWIKIPLATFORM-6048840
  • published13 Nov 2023
  • disclosed6 Nov 2023
  • creditIlie Andriuta

Introduced: 6 Nov 2023

CVE-2023-46731  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade org.xwiki.platform:xwiki-platform-administration-ui to version 14.10.14, 15.5.1 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary Code Injection due to the improper escaping of the section URL parameter in the XWiki.AdminSheet document. An attacker can execute code, including Groovy code, by exploiting this parameter.

Notes:

1)To protect against attacks from unauthenticated users, the view right for guests can be removed from the XWiki.AdminSheet document (it is only needed for space and wiki admins).

2)This is only exploitable if the attacker has read access to the XWiki.AdminSheet document.

CVSS Scores

version 3.1