CVE-2024-55879: XWiki allows RCE from script right in configurable sections

Published Dec 12, 2024
·
Updated

Impact Any user with script rights can perform arbitrary remote code execution by adding instances of XWiki.ConfigurableClass to any page. This compromises the confidentiality, integrity and availability of the whole XWiki installation.

To reproduce on a instance, as a user with script rights, edit your user profile and add an object of type XWiki.ConfigurableClass ("Custom configurable sections"). Set "Display in section" and "Display in category" to other, "Scope" to Wiki and all spaces and "Heading" to: #set($codeToExecute = 'Test') #set($codeToExecuteResult = '{{async}}{{groovy}}services.logging.getLogger("attacker").error("Attack from Heading succeeded!"){{/groovy}}{{/async}}') Save the page and view it, then add ?sheet=XWiki.AdminSheet&viewer=content&section=other to the URL. If the logs contain "attacker - Attack from Heading succeeded!", then the instance is vulnerable.

Patches This has been patched in XWiki 15.10.9 and 16.3.0.

Workarounds We're not aware of any workaround except upgrading.

References https://jira.xwiki.org/browse/XWIKI-21207 https://github.com/xwiki/xwiki-platform/commit/8493435ff9606905a2d913607d6c79862d0c168d

For more information

If you have any questions or comments about this advisory: Open an issue in Jira XWiki.org Email us at Security Mailing List

Other sources

XWiki Platform is a generic wiki platform. Starting in version 2.3 and prior to versions 15.10.9, 16.3.0, any user with script rights can perform arbitrary remote code execution by adding instances of XWiki.ConfigurableClass to any page. This compromises the confidentiality, integrity and availability of the whole XWiki installation. This has been patched in XWiki 15.10.9 and 16.3.0. No known workarounds are available except upgrading.

MITRE

Affected Software

4 affected componentsFixes available
maven/org.xwiki.platform:xwiki-platform-administration-ui>=16.0.0-rc-1<16.3.0
16.3.0
maven/org.xwiki.platform:xwiki-platform-administration-ui>=2.3<15.10.9
15.10.9
XWiki xwiki>=2.3<15.10.9
XWiki xwiki>=16.0.0<16.3.0

Event History

Dec 12, 2024
CVE Published
via MITRE·07:17 PM
Data Sourced
via MITRE·07:17 PM
DescriptionSeverityWeakness
Advisory Published
via GitHub·07:20 PM
Data Sourced
via NVD·08:15 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:15 PM
RemedyAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-55879?

CVE-2024-55879 is rated as a critical vulnerability due to its potential for arbitrary remote code execution.

2

How do I fix CVE-2024-55879?

To fix CVE-2024-55879, upgrade to XWiki platform version 16.3.0 or 15.10.9.

3

What impact does CVE-2024-55879 have on my XWiki installation?

CVE-2024-55879 compromises the confidentiality, integrity, and availability of the entire XWiki installation.

4

Who is affected by CVE-2024-55879?

Any user with script rights on XWiki installations using vulnerable versions of the platform is affected by CVE-2024-55879.

5

What are the affected versions for CVE-2024-55879?

CVE-2024-55879 affects XWiki platform versions from 2.3 up to 15.10.9 and from 16.0.0-rc-1 to 16.3.0.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203