CVE-2024-31985: XWiki Platform CSRF in the job scheduler

Published Apr 10, 2024
·
Updated

Impact It is possible to schedule/trigger/unschedule existing jobs by having an admin visit the Job Scheduler page through a predictable URL, for example by embedding such an URL in any content as an image.

To reproduce in an XWiki installation, open <xwiki-host>:/xwiki/bin/view/Scheduler/?do=trigger&which=Scheduler.NotificationEmailDailySender as a user with admin rights. If there is no error message that indicates the CSRF token is invalid, the installation is vulnerable.

Patches The vulnerability has been fixed on XWiki 14.10.19, 15.5.5, and 15.9.

Workarounds Modify the Scheduler.WebHome page following this patch.

References - https://jira.xwiki.org/browse/XWIKI-20851 - https://github.com/xwiki/xwiki-platform/commit/f16ca4ef1513f84ce2e685d4a05d689bd3a2ab4c

Other sources

XWiki Platform is a generic wiki platform. Starting in version 3.1 and prior to versions 4.10.20, 15.5.4, and 15.10-rc-1, it is possible to schedule/trigger/unschedule existing jobs by having an admin visit the Job Scheduler page through a predictable URL, for example by embedding such an URL in any content as an image. The vulnerability has been fixed in XWiki 14.10.19, 15.5.5, and 15.9. As a workaround, manually apply the patch by modifying the Scheduler.WebHome page.

NVD

Affected Software

6 affected componentsFixes available
maven/org.xwiki.platform:xwiki-platform-scheduler-ui>=15.6-rc-1<15.9
15.9
maven/org.xwiki.platform:xwiki-platform-scheduler-ui>=15.0-rc-1<15.5.4
15.5.4
maven/org.xwiki.platform:xwiki-platform-scheduler-ui>=3.1<14.10.19
14.10.19
XWiki xwiki>=3.1.1<14.10.19
XWiki xwiki>=15.0<15.5.4
XWiki xwiki>=15.6<15.9

Event History

Apr 10, 2024
Advisory Published
via GitHub·05:14 PM
CVE Published
via MITRE·08:11 PM
Data Sourced
via MITRE·08:11 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:15 PM
DescriptionSeverityWeakness
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-31985?

The severity of CVE-2024-31985 is classified as a medium vulnerability.

2

How do I fix CVE-2024-31985?

To fix CVE-2024-31985, upgrade to version 15.9, 15.5.4, or 14.10.19 of the affected XWiki packages.

3

What software is affected by CVE-2024-31985?

CVE-2024-31985 affects multiple versions of the XWiki platform, specifically those from 3.1 to 15.9.

4

What are the consequences of CVE-2024-31985?

If exploited, CVE-2024-31985 allows unauthorized scheduling and unscheduling of jobs by accessing a predictable URL.

5

Can CVE-2024-31985 be exploited remotely?

Yes, CVE-2024-31985 can be exploited remotely if an administrator is tricked into visiting a malicious URL.

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