Vulnerabilities in pkg:maven/org.xwiki.platform/xwiki-platform-scheduler-ui

PACKAGE
Advisory Identifier: GHSA-cwq6-mjmx-47p6
Advisory Summary

CVE-2024-55876 is a MODERATE (CVSS 5.4) xwiki's scheduler vulnerability (CWE-862: Missing Authorization) affecting Xwiki platform scheduler ui libraries in the Maven ecosystem. The issue involves xwiki's scheduler in subwiki allows scheduling operations for any main wiki user. Remediation is available by upgrading affected packages to version 15.10.9, 16.3.0.

4 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/org.xwiki.platform/xwiki-platform-scheduler-ui

4 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:maven/org.xwiki.platform/xwiki-platform-scheduler-ui. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-cwq6-mjmx-47p6 CVE-2024-55876 MODERATE XWiki's scheduler in subwiki allows scheduling operations for any main wiki user
GHSA-37m4-hqxv-w26g CVE-2024-31986 CRITICAL XWiki Platform CSRF remote code execution through scheduler job's document reference
GHSA-j2r6-r929-v6gf CVE-2024-31985 MODERATE XWiki Platform CSRF in the job scheduler
GHSA-fc42-5w56-qw7h CVE-2023-29524 CRITICAL XWiki Platform vulnerable to code injection from account through XWiki.SchedulerJobSheet

CVE-2024-55876 at a Glance

CVE Identifier CVE-2024-55876
GHSA Identifier GHSA-cwq6-mjmx-47p6
Severity MODERATE
CVSS v3.1 Base Score 5.4
CWE Classification CWE-862: Missing Authorization
Affected Product Xwiki platform scheduler ui
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 5.4

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity Low (I:L)
Availability Low (A:L)

How to Fix CVE-2024-55876

To remediate this vulnerability, upgrade all affected Xwiki platform scheduler ui dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

org.xwiki.platform:xwiki-platform-scheduler-ui fixed: 15.10.9
<dependency>
    <groupId>org.xwiki.platform</groupId>
    <artifactId>xwiki-platform-scheduler-ui</artifactId>
    <version>15.10.9</version>
</dependency>
org.xwiki.platform:xwiki-platform-scheduler-ui fixed: 16.3.0
<dependency>
    <groupId>org.xwiki.platform</groupId>
    <artifactId>xwiki-platform-scheduler-ui</artifactId>
    <version>16.3.0</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=org.xwiki.platform

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2024-55876, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=org.xwiki.platform

Analyze the terminal output to locate any version of Xwiki platform scheduler ui in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 15.10.9), your application is affected.

Note: The mvn dependency:tree -Dincludes=org.xwiki.platform command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-862: Missing Authorization, where the product does not perform an authorization check when an actor attempts to access a resource or perform an action. In Xwiki platform scheduler ui, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### 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: * Open an issue in [Jira XWiki.org](https://jira.xwiki.org/) * Email us at [Security Mailing List](mailto:security@xwiki.org)

CVE-2024-55876 Affected Xwiki platform scheduler ui Versions

2 component(s)
Fixed Versions:
15.10.916.3.0
Product / Package Ecosystem Affected Versions Fixed Version
org.xwiki.platform:xwiki-platform-scheduler-ui
Maven
≥ 1.2-milestone-2
< 15.10.9
15.10.9
org.xwiki.platform:xwiki-platform-scheduler-ui
Maven
≥ 16.0.0-rc-1
< 16.3.0
16.3.0

References

Frequently Asked Questions

What is CVE-2024-55876?
CVE-2024-55876 is a security vulnerability in Xwiki platform scheduler ui involving XWiki's scheduler in subwiki allows scheduling operations for any main wiki user under CWE-862: Missing Authorization.
Which Xwiki platform scheduler ui versions are affected?
Affected versions include releases prior to 15.10.9, 16.3.0 across affected packages: org.xwiki.platform:xwiki-platform-scheduler-ui.
What version fixes CVE-2024-55876?
Upgrading to 15.10.9, 16.3.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is xwiki-platform-scheduler-ui affected?
Yes, org.xwiki.platform:xwiki-platform-scheduler-ui is affected in releases prior to 15.10.9, 16.3.0. Upgrade your dependency to 15.10.9, 16.3.0 or later.
What is the CVSS score of CVE-2024-55876?
CVE-2024-55876 has a CVSS v3.1 base score of 5.4 (MODERATE) with vector string CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L.
What CWE is associated with CVE-2024-55876?
CVE-2024-55876 is classified under CWE-862: Missing Authorization (The product does not perform an authorization check when an actor attempts to access a resource or perform an action.).
How can I check Maven dependencies for CVE-2024-55876?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.xwiki.platform'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-cwq6-mjmx-47p6",
  "modified" : "2024-12-12T22:31:48Z",
  "published" : "2024-12-12T19:21:16Z",
  "aliases" : [ "CVE-2024-55876" ],
  "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)",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.xwiki.platform:xwiki-platform-scheduler-ui"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.2-milestone-2"
      }, {
        "fixed" : "15.10.9"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.xwiki.platform:xwiki-platform-scheduler-ui"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "16.0.0-rc-1"
      }, {
        "fixed" : "16.3.0"
      } ]
    } ]
  } ],
  "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"
  } ],
  "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"
  }
}