CVE-2024-26138: Application licensing licensor ui XWiki Extension License Information Is Vulnerability

MODERATE
Advisory Identifier: GHSA-4hfp-m9gv-m753
CVSS 5.3
CWE-862
Published
Advisory Summary

CVE-2024-26138 is a MODERATE (CVSS 5.3) xwiki extension license information is vulnerability (CWE-862: Missing Authorization) affecting Application licensing licensor ui libraries in the Maven ecosystem. The issue involves xwiki extension license information is public, exposing instance id and license holder details. Remediation is available by upgrading affected packages to version 1.24.2.

CVE-2024-26138 at a Glance

CVE Identifier CVE-2024-26138
GHSA Identifier GHSA-4hfp-m9gv-m753
Severity MODERATE
CVSS v3.1 Base Score 5.3
CWE Classification CWE-862: Missing Authorization
Affected Product Application licensing licensor ui
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 5.3

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

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

How to Fix CVE-2024-26138

To remediate this vulnerability, upgrade all affected Application licensing licensor 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.

com.xwiki.licensing:application-licensing-licensor-ui fixed: 1.24.2
<dependency>
    <groupId>com.xwiki.licensing</groupId>
    <artifactId>application-licensing-licensor-ui</artifactId>
    <version>1.24.2</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=com.xwiki.licensing

How to Check if You Are Affected

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

mvn dependency:tree -Dincludes=com.xwiki.licensing

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

Note: The mvn dependency:tree -Dincludes=com.xwiki.licensing 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 Application licensing licensor 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 The licensor application includes the document `Licenses.Code.LicenseJSON` that provides information for admins regarding active licenses. This document is public and thus exposes this information publicly. The information includes the instance's id as well as first and last name and email of the license owner. This is a leak of information that isn't supposed to be public. The instance id allows associating data on the [active installs data](https://extensions.xwiki.org/xwiki/bin/view/Extension/Active%20Installs%202%20API/) with the concrete XWiki instance. Active installs assures that "there's no way to find who's having a given UUID" (referring to the instance id). Further, the information who the license owner is and information about the obtained licenses can be used for targeted phishing attacks. Also, while user information is normally public, email addresses might only be displayed obfuscated (depending on the configuration). ### Patches This has been fixed in Application Licensing 1.24.2, by https://github.com/xwikisas/application-licensing/commit/d168fb88fc0d121bf95e769ea21c55c00bebe5a6 ### Workarounds There are no known workarounds besides upgrading. ### References Fixed by https://github.com/xwikisas/application-licensing/commit/d168fb88fc0d121bf95e769ea21c55c00bebe5a6

CVE-2024-26138 Affected Application licensing licensor ui Versions

1 component(s)
Fixed Versions:
1.24.2
Product / Package Ecosystem Affected Versions Fixed Version
com.xwiki.licensing:application-licensing-licensor-ui
Maven
≥ 1.0
< 1.24.2
1.24.2

References

Frequently Asked Questions

What is CVE-2024-26138?
CVE-2024-26138 is a security vulnerability in Application licensing licensor ui involving XWiki extension license information is public, exposing instance id and license holder details under CWE-862: Missing Authorization.
Which Application licensing licensor ui versions are affected?
Affected versions include releases prior to 1.24.2 across affected packages: com.xwiki.licensing:application-licensing-licensor-ui.
What version fixes CVE-2024-26138?
Upgrading to 1.24.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is application-licensing-licensor-ui affected?
Yes, com.xwiki.licensing:application-licensing-licensor-ui is affected in releases prior to 1.24.2. Upgrade your dependency to 1.24.2 or later.
What is the CVSS score of CVE-2024-26138?
CVE-2024-26138 has a CVSS v3.1 base score of 5.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N.
What CWE is associated with CVE-2024-26138?
CVE-2024-26138 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-26138?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=com.xwiki.licensing'. 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-4hfp-m9gv-m753",
  "modified" : "2024-02-21T19:33:21Z",
  "published" : "2024-02-21T18:04:57Z",
  "aliases" : [ "CVE-2024-26138" ],
  "summary" : "XWiki extension license information is public, exposing instance id and license holder details",
  "details" : "### Impact\nThe licensor application includes the document `Licenses.Code.LicenseJSON` that provides information for admins regarding active licenses. This document is public and thus exposes this information publicly. The information includes the instance's id as well as first and last name and email of the license owner. This is a leak of information that isn't supposed to be public. The instance id allows associating data on the [active installs data](https://extensions.xwiki.org/xwiki/bin/view/Extension/Active%20Installs%202%20API/) with the concrete XWiki instance. Active installs assures that \"there's no way to find who's having a given UUID\" (referring to the instance id). Further, the information who the license owner is and information about the obtained licenses can be used for targeted phishing attacks. Also, while user information is normally public, email addresses might only be displayed obfuscated (depending on the configuration).\n\n### Patches\nThis has been fixed in Application Licensing 1.24.2, by https://github.com/xwikisas/application-licensing/commit/d168fb88fc0d121bf95e769ea21c55c00bebe5a6\n\n### Workarounds\nThere are no known workarounds besides upgrading.\n\n### References\nFixed by https://github.com/xwikisas/application-licensing/commit/d168fb88fc0d121bf95e769ea21c55c00bebe5a6\n",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "com.xwiki.licensing:application-licensing-licensor-ui"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.0"
      }, {
        "fixed" : "1.24.2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/xwikisas/application-licensing/security/advisories/GHSA-4hfp-m9gv-m753"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-26138"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/xwikisas/application-licensing/commit/d168fb88fc0d121bf95e769ea21c55c00bebe5a6"
  }, {
    "type" : "WEB",
    "url" : "https://extensions.xwiki.org/xwiki/bin/view/Extension/Active%20Installs%202%20API"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/xwikisas/application-licensing"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-862" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-02-21T18:04:57Z",
    "nvd_published_at" : "2024-02-21T17:15:10Z"
  }
}