Skip to content

CVE-2024-37899 Disabling a user account changes its author, allowing RCE from user account in XWiki

HighCVSS 8.0 EPSS 0.69%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total

Description

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. 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. This has been patched in XWiki 14.10.21, 15.5.5, 15.10.6 and 16.0.0. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Workarounds

We're not aware of any workaround except upgrading.

References

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
org.xwiki.platform/xwiki-platform-oldcore(Maven) >= 13.4.7, < 13.5; >= 13.4.7, < 14.10.21; >= 13.10.3, < 14.10.21; >= 15.0-rc-1, < 15.5.5 +2 more 13.5, 14.10.21, 15.5.5, 15.10.6, 16.0.0 Fixed
xwiki = 13.4.7; = 13.5-rc1; = 16.0.0-rc1; >= 13.4.7, <= 13.5 +7 more 14.10.21, 15.5.5, 15.10.6, 16.0.0 Fixed
xwiki-platform = >= 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 +1 more No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
org.xwiki.platform/xwiki-platform-oldcore(Maven) >= 13.4.7, < 14.10.21 14.10.21
org.xwiki.platform/xwiki-platform-oldcore(Maven) >= 13.10.3, < 14.10.21 14.10.21
org.xwiki.platform/xwiki-platform-oldcore(Maven) >= 15.0-rc-1, < 15.5.5 15.5.5
org.xwiki.platform/xwiki-platform-oldcore(Maven) >= 15.6-rc-1, < 15.10.6 15.10.6
org.xwiki.platform/xwiki-platform-oldcore(Maven) >= 16.0.0-rc-1, < 16.0.0 16.0.0
org.xwiki.platform/xwiki-platform-oldcore(Maven) >= 13.4.7, < 13.5 13.5
xwiki-platform = >= 13.4.7, <= 13.5 No fix listed
xwiki-platform = >= 13.10.3, < 14.10.21 No fix listed
xwiki-platform = >= 15.0-rc-1, < 15.5.5 No fix listed
xwiki-platform = >= 15.6-rc-1, < 15.10.6 No fix listed
xwiki-platform = >= 16.0.0-rc-1, < 16.0.0 No fix listed
xwiki >= 13.4.7, <= 13.5 No fix listed
xwiki >= 13.10.3, <= 14.10.21 No fix listed
xwiki >= 15.0-rc-1, < 15.5.5 15.5.5
xwiki >= 15.6-rc-1,, < 15.10.6 15.10.6
xwiki >= 16.0.0-rc-1,, < 16.0.0 16.0.0
xwiki >= 13.10.3, < 14.10.21 14.10.21
xwiki >= 15.0, < 15.5.5 15.5.5
xwiki >= 15.6, < 15.10.6 15.10.6
xwiki = 13.4.7 No fix listed
xwiki = 13.5-rc1 No fix listed
xwiki = 16.0.0-rc1 No fix listed

References