GHSA-4hrp-m3f2-643j: Duplicate Advisory Session Fixation Vulnerability

CRITICAL
CVSS 9.8
CWE-384
Published
Advisory Summary

GHSA-4hrp-m3f2-643j is a CRITICAL (CVSS 9.8) session fixation vulnerability (CWE-384: Session Fixation) affecting Duplicate Advisory libraries in the Maven ecosystem. The issue involves session fixation in enonic xp. Remediation is available by upgrading affected packages to version 7.7.4.

GHSA-4hrp-m3f2-643j at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-4hrp-m3f2-643j
Severity CRITICAL
CVSS v3.1 Base Score 9.8
CWE Classification CWE-384: Session Fixation
Affected Product Duplicate Advisory
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 9.8

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:H/I:H/A:H).

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 High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix GHSA-4hrp-m3f2-643j

To remediate this vulnerability, upgrade all affected Duplicate Advisory 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.enonic.xp:lib-auth fixed: 7.7.4
<dependency>
    <groupId>com.enonic.xp</groupId>
    <artifactId>lib-auth</artifactId>
    <version>7.7.4</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.enonic.xp

How to Check if You Are Affected

To determine whether your Java application is affected by GHSA-4hrp-m3f2-643j, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=com.enonic.xp

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

Note: The mvn dependency:tree -Dincludes=com.enonic.xp 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-384: Session Fixation, where authenticating a user, or otherwise establishing a new user session, without invalidating any existing session identifier gives an attacker the opportunity to steal authenticated sessions. In Duplicate Advisory, 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

## Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-4m5p-5w5w-3jcf. This link is maintained to preserve external references. ## Original Description Enonic XP versions less than 7.7.4 are vulnerable to a session fixation issue. An remote and unauthenticated attacker can use prior sessions due to the lack of invalidating session attributes.

GHSA-4hrp-m3f2-643j Affected Duplicate Advisory Versions

1 component(s)
Fixed Versions:
7.7.4
Product / Package Ecosystem Affected Versions Fixed Version
com.enonic.xp:lib-auth
Maven
< 7.7.4
7.7.4

References

Frequently Asked Questions

What is GHSA-4hrp-m3f2-643j?
GHSA-4hrp-m3f2-643j is a security vulnerability in Duplicate Advisory involving Session fixation in Enonic XP under CWE-384: Session Fixation.
Which Duplicate Advisory versions are affected?
Affected versions include releases prior to 7.7.4 across affected packages: com.enonic.xp:lib-auth.
What version fixes GHSA-4hrp-m3f2-643j?
Upgrading to 7.7.4 (or the latest patched release for your respective branch) resolves the vulnerability.
Is lib-auth affected?
Yes, com.enonic.xp:lib-auth is affected in releases prior to 7.7.4. Upgrade your dependency to 7.7.4 or later.
What is the CVSS score of GHSA-4hrp-m3f2-643j?
GHSA-4hrp-m3f2-643j has a CVSS v3.1 base score of 9.8 (CRITICAL) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with GHSA-4hrp-m3f2-643j?
GHSA-4hrp-m3f2-643j is classified under CWE-384: Session Fixation (Authenticating a user, or otherwise establishing a new user session, without invalidating any existing session identifier gives an attacker the opportunity to steal authenticated sessions.).
How can I check Maven dependencies for GHSA-4hrp-m3f2-643j?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=com.enonic.xp'. 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-4hrp-m3f2-643j",
  "modified" : "2026-01-22T20:51:55Z",
  "published" : "2024-01-19T21:30:36Z",
  "withdrawn" : "2026-01-22T20:51:55Z",
  "aliases" : [ ],
  "summary" : "Duplicate Advisory: Session fixation in Enonic XP",
  "details" : "## Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-4m5p-5w5w-3jcf. This link is maintained to preserve external references.\n\n## Original Description\nEnonic XP versions less than 7.7.4 are vulnerable to a session fixation issue. An remote and unauthenticated attacker can use prior sessions due to the lack of invalidating session attributes.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "com.enonic.xp:lib-auth"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "7.7.4"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/enonic/xp/security/advisories/GHSA-4m5p-5w5w-3jcf"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-23679"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/enonic/xp/issues/9253"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/enonic/xp/commit/0189975691e9e6407a9fee87006f730e84f734ff"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/enonic/xp/commit/1f44674eb9ab3fbab7103e8d08067846e88bace4"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/enonic/xp/commit/2abac31cec8679074debc4f1fb69c25930e40842"
  }, {
    "type" : "ADVISORY",
    "url" : "https://github.com/advisories/GHSA-4m5p-5w5w-3jcf"
  }, {
    "type" : "WEB",
    "url" : "https://vulncheck.com/advisories/vc-advisory-GHSA-4m5p-5w5w-3jcf"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-384" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-01-29T22:30:31Z",
    "nvd_published_at" : "2024-01-19T21:15:10Z"
  }
}