CVE-2024-1143: Centraldogma server Authentication Bypass Vulnerability

CRITICAL
Advisory Identifier: GHSA-34q3-p352-c7q8
CVSS 9.3
Published
Advisory Summary

CVE-2024-1143 is a CRITICAL (CVSS 9.3) authentication bypass vulnerability (General Security Weakness) affecting Centraldogma server libraries in the Maven ecosystem. The issue involves central dogma authentication bypass vulnerability via session leakage. Remediation is available by upgrading affected packages to version 0.64.1.

CVE-2024-1143 at a Glance

CVE Identifier CVE-2024-1143
GHSA Identifier GHSA-34q3-p352-c7q8
Severity CRITICAL
CVSS v3.1 Base Score 9.3
CWE Classification General Security Weakness
Affected Product Centraldogma server
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 9.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:R/S:C/C:H/I:H/A:N).

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

How to Fix CVE-2024-1143

To remediate this vulnerability, upgrade all affected Centraldogma server 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.linecorp.centraldogma:centraldogma-server fixed: 0.64.1
<dependency>
    <groupId>com.linecorp.centraldogma</groupId>
    <artifactId>centraldogma-server</artifactId>
    <version>0.64.1</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.linecorp.centraldogma

How to Check if You Are Affected

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

mvn dependency:tree -Dincludes=com.linecorp.centraldogma

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

Note: The mvn dependency:tree -Dincludes=com.linecorp.centraldogma 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 General Security Weakness. In Centraldogma server, 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

### Vulnerability Overview A vulnerability has been identified in Central Dogma versions prior to 0.64.1, allowing for the leakage of user sessions and subsequent authentication bypass. The issue stems from a Cross-Site Scripting (XSS) attack vector that targets the RelayState of Security Assertion Markup Language (SAML). ### Impact Successful exploitation of this vulnerability enables malicious actors to leak user sessions, leading to the compromise of authentication mechanisms. This, in turn, can facilitate unauthorized access to sensitive resources. ### Patches This vulnerability is addressed and resolved in Central Dogma version 0.64.1 Users are strongly encouraged to upgrade to this version or later to mitigate the risk associated with the authentication bypass. ### Workarounds No viable workarounds are currently available for this vulnerability. It is recommended to apply the provided patch promptly. ### References - [OASIS SAML v2.0 Errata 05](https://docs.oasis-open.org/security/saml/v2.0/errata05/os/saml-v2.0-errata05-os.html#__RefHeading__8196_1983180497) - [OWASP XSS Prevention Cheat Sheet](https://cheatsheetseries.owasp.org/cheatsheets/Cross_Site_Scripting_Prevention_Cheat_Sheet.html#xss-defense-philosophy)

CVE-2024-1143 Affected Centraldogma server Versions

1 component(s)
Fixed Versions:
0.64.1
Product / Package Ecosystem Affected Versions Fixed Version
com.linecorp.centraldogma:centraldogma-server
Maven
< 0.64.1
0.64.1

References

Frequently Asked Questions

What is CVE-2024-1143?
CVE-2024-1143 is a security vulnerability in Centraldogma server involving Central Dogma Authentication Bypass Vulnerability via Session Leakage under General Security Weakness.
Which Centraldogma server versions are affected?
Affected versions include releases prior to 0.64.1 across affected packages: com.linecorp.centraldogma:centraldogma-server.
What version fixes CVE-2024-1143?
Upgrading to 0.64.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is centraldogma-server affected?
Yes, com.linecorp.centraldogma:centraldogma-server is affected in releases prior to 0.64.1. Upgrade your dependency to 0.64.1 or later.
What is the CVSS score of CVE-2024-1143?
CVE-2024-1143 has a CVSS v3.1 base score of 9.3 (CRITICAL) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N.
What CWE is associated with CVE-2024-1143?
CVE-2024-1143 is classified under General Security Weakness.
How can I check Maven dependencies for CVE-2024-1143?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=com.linecorp.centraldogma'. 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-34q3-p352-c7q8",
  "modified" : "2024-04-25T16:46:07Z",
  "published" : "2024-02-02T16:55:25Z",
  "aliases" : [ "CVE-2024-1143" ],
  "summary" : "Central Dogma Authentication Bypass Vulnerability via Session Leakage",
  "details" : "### Vulnerability Overview\nA vulnerability has been identified in Central Dogma versions prior to 0.64.1, allowing for the leakage of user sessions and subsequent authentication bypass. The issue stems from a Cross-Site Scripting (XSS) attack vector that targets the RelayState of Security Assertion Markup Language (SAML).\n\n### Impact\nSuccessful exploitation of this vulnerability enables malicious actors to leak user sessions, leading to the compromise of authentication mechanisms. This, in turn, can facilitate unauthorized access to sensitive resources.\n\n### Patches\nThis vulnerability is addressed and resolved in Central Dogma version 0.64.1 Users are strongly encouraged to upgrade to this version or later to mitigate the risk associated with the authentication bypass.\n\n### Workarounds\nNo viable workarounds are currently available for this vulnerability. It is recommended to apply the provided patch promptly.\n\n### References\n- [OASIS SAML v2.0 Errata 05](https://docs.oasis-open.org/security/saml/v2.0/errata05/os/saml-v2.0-errata05-os.html#__RefHeading__8196_1983180497)\n- [OWASP XSS Prevention Cheat Sheet](https://cheatsheetseries.owasp.org/cheatsheets/Cross_Site_Scripting_Prevention_Cheat_Sheet.html#xss-defense-philosophy)",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "com.linecorp.centraldogma:centraldogma-server"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.64.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/line/centraldogma/security/advisories/GHSA-34q3-p352-c7q8"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-1143"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/line/centraldogma/commit/8edcf913b88101aff70008156b0881850e005783"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/line/centraldogma"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-02-02T16:55:25Z",
    "nvd_published_at" : null
  }
}