Privilege Escalation Affecting org.xwiki.rendering:xwiki-rendering-macro-footnotes package, versions [,14.10.6)[15.0-rc-1,15.1-rc-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.29% (69th 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-ORGXWIKIRENDERING-6036200
  • published26 Oct 2023
  • disclosed25 Oct 2023
  • creditUnknown

Introduced: 25 Oct 2023

CVE-2023-37912  (opens in a new tab)
CWE-264  (opens in a new tab)

How to fix?

Upgrade org.xwiki.rendering:xwiki-rendering-macro-footnotes to version 14.10.6, 15.1-rc-1 or higher.

Overview

Affected versions of this package are vulnerable to Privilege Escalation via cross-site scripting in the footnote macro. This is particularly exploitable when combined with the include macro, impacting the confidentiality, integrity, and availability of the entire XWiki installation. This is only exploitable if the footnote macro is used in combination with the include macro.

PoC

  1. Edit a user profile with the object editor and add an object of type DocumentSheetBinding with value XWiki.ClassSheet

  2. Edit the user profile with the wiki editor and add {{footnote}}{{groovy}}println("Hello " + "from groovy!"){{/groovy}}{{/footnote}}

CVSS Scores

version 3.1