Incorrect Privilege Assignment Affecting org.xwiki.platform:xwiki-platform-oldcore package, versions [13.4.7,13.5) [13.10.3,14.10.21) [15.0-rc-1,15.5.5) [15.6-rc-1,15.10.6) [16.0.0-rc-1,16.0.0)
Threat Intelligence
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 ID SNYK-JAVA-ORGXWIKIPLATFORM-7300154
- published 21 Jun 2024
- disclosed 20 Jun 2024
- credit Unknown
Introduced: 20 Jun 2024
CVE-2024-37899 Open this link in a new tabHow to fix?
Upgrade org.xwiki.platform:xwiki-platform-oldcore
to version 13.5, 14.10.21, 15.5.5, 15.10.6, 16.0.0 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 Incorrect Privilege Assignment. An attacker can execute arbitrary code by embedding malicious scripts in their own user profile, which are then executed with elevated privileges when an admin attempts to disable the account.
PoC
As a user without script nor programming rights, edit the about section of your user profile and add
{{groovy}}services.logging.getLogger("attacker").error("Hello from Groovy!"){{/groovy}}.
As an admin, go to the user profile and click the "Disable this account" button.
Then, reload the page. If the logs show attacker - Hello from Groovy!
then the instance is vulnerable.