{"id":"GHSA-cwq6-mjmx-47p6","summary":"XWiki's scheduler in subwiki allows scheduling operations for any main wiki user","details":"### Impact\nAny user with an account on the main wiki could run scheduling operations on subwikis.\nTo 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.\n\n### Patches\nThis has been patched in XWiki 15.10.9 and 16.3.0.\n\n### Workarounds\nIf 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.\n\n### References\n* https://jira.xwiki.org/browse/XWIKI-21663\n* https://github.com/xwiki/xwiki-platform/commit/54bcc5a7a2e440cc591b91eece9c13dc0c487331\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [Jira XWiki.org](https://jira.xwiki.org/)\n* Email us at [Security Mailing List](mailto:security@xwiki.org)","aliases":["CVE-2024-55876"],"modified":"2024-12-12T22:31:48Z","published":"2024-12-12T19:21:16Z","database_specific":{"cwe_ids":["CWE-862"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2024-12-12T19:21:16Z","nvd_published_at":"2024-12-12T19:15:14Z"},"references":[{"type":"WEB","url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-cwq6-mjmx-47p6"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-55876"},{"type":"WEB","url":"https://github.com/xwiki/xwiki-platform/commit/54bcc5a7a2e440cc591b91eece9c13dc0c487331"},{"type":"PACKAGE","url":"https://github.com/xwiki/xwiki-platform"},{"type":"WEB","url":"https://jira.xwiki.org/browse/XWIKI-21663"}],"affected":[{"package":{"name":"org.xwiki.platform:xwiki-platform-scheduler-ui","ecosystem":"Maven","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-scheduler-ui"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.2-milestone-2"},{"fixed":"15.10.9"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/12/GHSA-cwq6-mjmx-47p6/GHSA-cwq6-mjmx-47p6.json"}},{"package":{"name":"org.xwiki.platform:xwiki-platform-scheduler-ui","ecosystem":"Maven","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-scheduler-ui"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"16.0.0-rc-1"},{"fixed":"16.3.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/12/GHSA-cwq6-mjmx-47p6/GHSA-cwq6-mjmx-47p6.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L"}]}