Information Exposure Affecting org.xwiki.platform:xwiki-platform-oldcore package, versions [3.2-milestone-3,14.10.9)[15.0-rc-1,15.4-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
0.55% (42nd 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-5856817
  • published24 Aug 2023
  • disclosed24 Aug 2023
  • creditMichael Hamann

Introduced: 24 Aug 2023

CVE-2023-40572  (opens in a new tab)
CWE-352  (opens in a new tab)

How to fix?

Upgrade org.xwiki.platform:xwiki-platform-oldcore to version 14.10.9, 15.4-rc-1 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 Information Exposure such that a user without script right can execute code within the context of an admin user.

Mitigation: This vulnerability can be mitigated by requiring a CSRF token for the actual page creation.

PoC

[[image:path:/xwiki/bin/create/Foo/WebHome?template=&parent=Main.WebHome&title=$services.logging.getLogger(%22foo%22).error(%22Script%20executed!%22)]]

CVSS Base Scores

version 3.1