Vulnerabilities in pkg:maven/org.xwiki.contrib.changerequest/application-changerequest-default

PACKAGE
Advisory Identifier: GHSA-2fr7-cc7p-p45q
Advisory Summary

CVE-2023-49280 is a HIGH (CVSS 7.7) data leak of password hash vulnerability (CWE-522: Insufficiently Protected Credentials) affecting Application changerequest default libraries in the Maven ecosystem. The issue involves data leak of password hash through change requests. Remediation is available by upgrading affected packages to version 1.10.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/org.xwiki.contrib.changerequest/application-changerequest-default

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:maven/org.xwiki.contrib.changerequest/application-changerequest-default. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-2fr7-cc7p-p45q CVE-2023-49280 HIGH Data leak of password hash through change requests

CVE-2023-49280 at a Glance

CVE Identifier CVE-2023-49280
GHSA Identifier GHSA-2fr7-cc7p-p45q
Severity HIGH
CVSS v3.1 Base Score 7.7
CWE Classification CWE-522: Insufficiently Protected Credentials
Affected Product Application changerequest default
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 7.7

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

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

How to Fix CVE-2023-49280

To remediate this vulnerability, upgrade all affected Application changerequest default 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.contrib.changerequest:application-changerequest-default fixed: 1.10
<dependency>
    <groupId>org.xwiki.contrib.changerequest</groupId>
    <artifactId>application-changerequest-default</artifactId>
    <version>1.10</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.contrib.changerequest

How to Check if You Are Affected

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

mvn dependency:tree -Dincludes=org.xwiki.contrib.changerequest

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

Note: The mvn dependency:tree -Dincludes=org.xwiki.contrib.changerequest 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-522: Insufficiently Protected Credentials, where the product transmits or stores authentication credentials, but it uses an insecure method that is susceptible to unauthorized interception and/or retrieval. In Application changerequest default, 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 Change request allows to edit any page by default, and the changes are then exported in an XML that anyone can download. So it's possible for an attacker to obtain password hash of users by performing edition of the user profiles and then downloading the XML that has been created. This is also true for any document that might contain password field and that a user can view. This vulnerability impacts all version of Change Request, but the impact depends on the rights that has been set on the wiki since it requires for the user to have the Change request right (allowed by default) and view rights on the page to target. Also the issue cannot be easily exploited in an automated way. ### Patches The patch consists in denying to users the right of editing pages that contains a password field with change request. It means that already existing change request for those pages won't be removed by the patch, administrators needs to take care of it. The patch is provided in Change Request 1.10, administrators should upgrade immediately. ### Workarounds It's possible to workaround the vulnerability by denying manually the Change request right on some spaces, such as XWiki space which will include any user profile by default. ### References * JIRA issue: https://jira.xwiki.org/browse/CRAPP-302 * Commit of the fix: https://github.com/xwiki-contrib/application-changerequest/commit/ff0f5368ea04f0e4aa7b33821c707dc68a8c5ca8 ### 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) ### Attribution Thanks Michael Hamann for the report.

CVE-2023-49280 Affected Application changerequest default Versions

1 component(s)
Fixed Versions:
1.10
Product / Package Ecosystem Affected Versions Fixed Version
org.xwiki.contrib.changerequest:application-changerequest-default
Maven
≥ 0.1
< 1.10
1.10

References

Frequently Asked Questions

What is CVE-2023-49280?
CVE-2023-49280 is a security vulnerability in Application changerequest default involving Data leak of password hash through change requests under CWE-522: Insufficiently Protected Credentials.
Which Application changerequest default versions are affected?
Affected versions include releases prior to 1.10 across affected packages: org.xwiki.contrib.changerequest:application-changerequest-default.
What version fixes CVE-2023-49280?
Upgrading to 1.10 (or the latest patched release for your respective branch) resolves the vulnerability.
Is application-changerequest-default affected?
Yes, org.xwiki.contrib.changerequest:application-changerequest-default is affected in releases prior to 1.10. Upgrade your dependency to 1.10 or later.
What is the CVSS score of CVE-2023-49280?
CVE-2023-49280 has a CVSS v3.1 base score of 7.7 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N.
What CWE is associated with CVE-2023-49280?
CVE-2023-49280 is classified under CWE-522: Insufficiently Protected Credentials (The product transmits or stores authentication credentials, but it uses an insecure method that is susceptible to unauthorized interception and/or retrieval.).
How can I check Maven dependencies for CVE-2023-49280?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.xwiki.contrib.changerequest'. 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-2fr7-cc7p-p45q",
  "modified" : "2023-12-05T19:45:33Z",
  "published" : "2023-12-05T19:45:33Z",
  "aliases" : [ "CVE-2023-49280" ],
  "summary" : "Data leak of password hash through change requests",
  "details" : "### Impact\n\nChange request allows to edit any page by default, and the changes are then exported in an XML that anyone can download. So it's possible for an attacker to obtain password hash of users by performing edition of the user profiles and then downloading the XML that has been created. This is also true for any document that might contain password field and that a user can view.\nThis vulnerability impacts all version of Change Request, but the impact depends on the rights that has been set on the wiki since it requires for the user to have the Change request right (allowed by default) and view rights on the page to target. \nAlso the issue cannot be easily exploited in an automated way. \n\n### Patches\n\nThe patch consists in denying to users the right of editing pages that contains a password field with change request. It means that already existing change request for those pages won't be removed by the patch, administrators needs to take care of it. \n\nThe patch is provided in Change Request 1.10, administrators should upgrade immediately. \n\n### Workarounds\n\nIt's possible to workaround the vulnerability by denying manually the Change request right on some spaces, such as XWiki space which will include any user profile by default. \n\n### References\n\n  * JIRA issue: https://jira.xwiki.org/browse/CRAPP-302\n  * Commit of the fix: https://github.com/xwiki-contrib/application-changerequest/commit/ff0f5368ea04f0e4aa7b33821c707dc68a8c5ca8\n\n### For more information\n\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)\n\n### Attribution\n\nThanks Michael Hamann for the report. ",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.xwiki.contrib.changerequest:application-changerequest-default"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.1"
      }, {
        "fixed" : "1.10"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/xwiki-contrib/application-changerequest/security/advisories/GHSA-2fr7-cc7p-p45q"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-49280"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/xwiki-contrib/application-changerequest/commit/ff0f5368ea04f0e4aa7b33821c707dc68a8c5ca8"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/xwiki-contrib/application-changerequest"
  }, {
    "type" : "WEB",
    "url" : "https://jira.xwiki.org/browse/CRAPP-302"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-522" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-12-05T19:45:33Z",
    "nvd_published_at" : "2023-12-04T23:15:26Z"
  }
}