Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') Affecting org.xwiki.platform:xwiki-platform-oldcore package, versions [3.3-milestone-1,13.10.11)[14.0-rc-1,14.4.8)[14.5,14.10.2)


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
1.33% (86th 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-5441640
  • published21 Apr 2023
  • disclosed20 Apr 2023
  • creditUnknown

Introduced: 20 Apr 2023

CVE-2023-29523  (opens in a new tab)
CWE-74  (opens in a new tab)

How to fix?

Upgrade org.xwiki.platform:xwiki-platform-oldcore to version 13.10.11, 14.4.8, 14.10.2 or higher.

Overview

org.xwiki.platform:xwiki-platform-oldcore is a generic wiki platform offering runtime services for applications built on top of it.

Affected versions of this package are vulnerable to Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') such that any user who can edit their own user profile can execute arbitrary script macros including Groovy and Python macros that allow remote code execution including unrestricted read and write access to all wiki contents.

PoC

{{html wiki="true"}}~{~{~/~h~t~m~l~}~}~ ~{~{~c~a~c~h~e~}~}~{~{~g~r~o~o~v~y~}~}~p~r~i~n~t~l~n~(~1~)~{~{~/~g~r~o~o~v~y~}~}~{~{~/~c~a~c~h~e~}~}~{{/html}}

CVSS Scores

version 3.1