Arbitrary Code Execution Affecting org.xwiki.platform:xwiki-platform-administration-ui package, versions [,13.1-rc-1)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.48% (76th 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 IDSNYK-JAVA-ORGXWIKIPLATFORM-2397381
  • published11 Feb 2022
  • disclosed10 Feb 2022
  • creditUnknown

Introduced: 10 Feb 2022

CVE-2022-23616  (opens in a new tab)
CWE-74  (opens in a new tab)

How to fix?

Upgrade org.xwiki.platform:xwiki-platform-administration-ui to version 13.1-rc-1 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary Code Execution. When resetting the password, the user document XWiki.<username> is saved as superadmin.

By creating a macro on the user document before resetting the document, it will be executed with superadmin privileges. Thus it is possible to run, for example, a groovy script as a normal user.

References

CVSS Scores

version 3.1