ADVISORIES

GitHub Advisory Database

GHSA-cwq6-mjmx-47p6

XWiki's scheduler in subwiki allows scheduling operations for any main wiki user

Moderate CVE-2024-55876

Details

Impact

Any user with an account on the main wiki could run scheduling operations on subwikis. To reproduce, as a user on the main wiki without any special right, view the document Scheduler.WebHome in a subwiki. Then, click on any operation (*e.g.,* Trigger) on any job. If the operation is successful, then the instance is vulnerable.

Patches

This has been patched in XWiki 15.10.9 and 16.3.0.

Workarounds

If you have subwikis where the Job Scheduler is enabled, you can edit the objects on Scheduler.WebPreferences to match https://github.com/xwiki/xwiki-platform/commit/54bcc5a7a2e440cc591b91eece9c13dc0c487331#diff-8e274bd0065e319a34090339de6dfe56193144d15fd71c52c1be7272254728b4.

References

  • https://jira.xwiki.org/browse/XWIKI-21663
  • https://github.com/xwiki/xwiki-platform/commit/54bcc5a7a2e440cc591b91eece9c13dc0c487331

For more information

If you have any questions or comments about this advisory:

Affected packages

EcosystemPackageAffected versions
Mavenorg.xwiki.platform:xwiki-platform-scheduler-ui
From 1.2-milestone-2 before 15.10.9 (fixed in 15.10.9)
Mavenorg.xwiki.platform:xwiki-platform-scheduler-ui
From 16.0.0-rc-1 before 16.3.0 (fixed in 16.3.0)

References