CVE-2024-9342: Console common Remote Code Execution Vulnerability

MODERATE
Advisory Identifier: GHSA-99f7-hp6j-v6q4
CWE-307
Published
Advisory Summary

CVE-2024-9342 is a MODERATE remote code execution vulnerability (CWE-307: Improper Restriction of Excessive Authentication Attempts) affecting Console common libraries in the Maven ecosystem. The issue involves eclipse glassfish is vulnerable to login brute force attacks through unlimited failed login attempts. Remediation is available in the latest vendor maintenance releases.

CVE-2024-9342 at a Glance

CVE Identifier CVE-2024-9342
GHSA Identifier GHSA-99f7-hp6j-v6q4
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-307: Improper Restriction of Excessive Authentication Attempts
Affected Product Console common
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2024-9342

To remediate this vulnerability, upgrade all affected Console common 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.glassfish.main.admingui:console-common fixed: Latest secure release
<dependency>
    <groupId>org.glassfish.main.admingui</groupId>
    <artifactId>console-common</artifactId>
    <version>Latest secure release</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.glassfish.main.admingui

How to Check if You Are Affected

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

mvn dependency:tree -Dincludes=org.glassfish.main.admingui

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

Note: The mvn dependency:tree -Dincludes=org.glassfish.main.admingui 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-307: Improper Restriction of Excessive Authentication Attempts, where the product does not implement sufficient measures to prevent multiple failed authentication attempts within a short time frame. In Console common, 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

In Eclipse GlassFish version 7.0.16 or earlier, it is possible to perform login brute force attacks as there is no limitation on the number of failed login attempts.

CVE-2024-9342 Affected Console common Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
org.glassfish.main.admingui:console-common
Maven
≤ 7.0.25

References

Frequently Asked Questions

What is CVE-2024-9342?
CVE-2024-9342 is a security vulnerability in Console common involving Eclipse GlassFish is vulnerable to Login Brute Force attacks through unlimited failed login attempts under CWE-307: Improper Restriction of Excessive Authentication Attempts.
Which Console common versions are affected?
Affected versions include releases prior to current release patches across affected packages: org.glassfish.main.admingui:console-common.
What version fixes CVE-2024-9342?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is console-common affected?
Yes, org.glassfish.main.admingui:console-common is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What CWE is associated with CVE-2024-9342?
CVE-2024-9342 is classified under CWE-307: Improper Restriction of Excessive Authentication Attempts (The product does not implement sufficient measures to prevent multiple failed authentication attempts within a short time frame.).
How can I check Maven dependencies for CVE-2024-9342?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.glassfish.main.admingui'. 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-99f7-hp6j-v6q4",
  "modified" : "2025-07-18T17:23:26Z",
  "published" : "2025-07-16T12:30:22Z",
  "aliases" : [ "CVE-2024-9342" ],
  "summary" : "Eclipse GlassFish is vulnerable to Login Brute Force attacks through unlimited failed login attempts",
  "details" : "In Eclipse GlassFish version 7.0.16 or earlier, it is possible to perform login brute force attacks as there is no limitation on the number of failed login attempts.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:H/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.glassfish.main.admingui:console-common"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "7.0.25"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-9342"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/eclipse-ee4j/glassfish"
  }, {
    "type" : "WEB",
    "url" : "https://gitlab.eclipse.org/security/cve-assignement/-/issues/33"
  }, {
    "type" : "WEB",
    "url" : "https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/231"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-307" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-07-18T17:23:26Z",
    "nvd_published_at" : "2025-07-16T11:15:23Z"
  }
}