Lucene search

K
githubGitHub Advisory DatabaseGHSA-J584-J2VJ-3F93
HistoryJun 20, 2024 - 4:19 p.m.

XWiki Platform allows remote code execution from user account

2024-06-2016:19:14
CWE-94
CWE-266
GitHub Advisory Database
github.com
11
xwiki platform
remote code execution
user account
admin rights
vulnerability
patch
workaround
upgrade

CVSS3

9

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H

AI Score

6.7

Confidence

High

EPSS

0

Percentile

15.6%

Impact

When an admin disables a user account, the user’s profile is executed with the admin’s rights. This allows a user to place malicious code in the user profile before getting an admin to disable the user account.

To reproduce, 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.

Patches

This has been patched in XWiki 14.10.21, 15.5.5, 15.10.6 and 16.0.0.

Workarounds

We’re not aware of any workaround except upgrading.

References

Affected configurations

Vulners
Node
org.xwiki.platformxwiki-platform-oldcoreRange16.0.0-rc-116.0.0
OR
org.xwiki.platformxwiki-platform-oldcoreRange15.6-rc-115.10.6
OR
org.xwiki.platformxwiki-platform-oldcoreRange15.0-rc-115.5.5
OR
org.xwiki.platformxwiki-platform-oldcoreRange13.10.314.10.21
OR
org.xwiki.platformxwiki-platform-oldcoreRange13.4.713.5
VendorProductVersionCPE
org.xwiki.platformxwiki-platform-oldcore*cpe:2.3:a:org.xwiki.platform:xwiki-platform-oldcore:*:*:*:*:*:*:*:*

CVSS3

9

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H

AI Score

6.7

Confidence

High

EPSS

0

Percentile

15.6%

Related for GHSA-J584-J2VJ-3F93