# CVE-2024-9342: Eclipse GlassFish improper restriction of login attempts

Source: https://junglewise.ai/threats/cve-2024-9342-eclipse-glassfish-improper-restriction-of-login-attempts  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-07-16. Updated: 2026-06-18  
License: CC BY 4.0 with a link back

CVE-2024-9342 · Severity: critical · CVSS 9.8 · Published 2025-07-16

Eclipse GlassFish, a popular application server for hosting Java-based web applications, lacks a mechanism to limit failed login attempts. This allows an attacker to repeatedly guess passwords for administrative or user accounts without being blocked. If successful, an attacker could gain full control over the server, access sensitive application data, or disrupt business operations.

Technologies: [Eclipse Foundation GlassFish](https://junglewise.ai/threats/technologies/glassfish), [org.glassfish.main.admingui:console-common (Maven)](https://junglewise.ai/threats/technologies/org-glassfish-main-admingui-console-common). Vendors: [Eclipse Foundation](https://junglewise.ai/threats/vendors/eclipse-foundation), [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2024-9342 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-9342 being exploited in the wild.

**How severe is CVE-2024-9342?** Critical severity, with a CVSS score of 9.8, published 16 July 2025.

**Which products and versions are affected?** Eclipse Foundation GlassFish < 8.0.3; org.glassfish.main.admingui:console-common (Maven) ECOSYSTEM:introduced=0,last_affected=7.0.25.

**Is there a fix for CVE-2024-9342?** A patch was published on 2025-07-16: Fixed in version 8.0.3 Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2024-9342 attacked?** It is attacked over the network, in a hosted service.

**Am I affected by CVE-2024-9342?** Check whether you run Eclipse Foundation GlassFish or org.glassfish.main.admingui:console-common (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

Eclipse GlassFish (multiple versions including 5.x, 6.x, 7.x, and 8.x prior to 8.0.3) is vulnerable to CWE-307: Improper Restriction of Excessive Authentication Attempts. The software does not implement a maximum threshold for failed login attempts, allowing an unauthenticated attacker with network access to perform automated brute-force or credential stuffing attacks. Successful exploitation can lead to unauthorized access to the administration console or user accounts, potentially resulting in full system compromise. The issue is addressed in GlassFish 8.0.3, which introduces automatic brute-force protection.

## Affected products

- Eclipse Foundation GlassFish < 8.0.3

## Identifiers

- CVE-2024-9342
- GHSA-99f7-hp6j-v6q4

## Timeline

- 2025-07-16: disclosed
- 2025-07-16: advisory
- 2025-07-16: patched: Fixed in version 8.0.3

## References

- [https://gitlab.eclipse.org/security/cve-assignement/-/issues/33](https://gitlab.eclipse.org/security/cve-assignement/-/issues/33)

## Related threats

- [Eclipse Grizzly HTTP request smuggling in trailer header parsing](https://junglewise.ai/threats/cve-2026-12606-eclipse-grizzly-http-request-smuggling-in-trailer-header-parsing)
- [Eclipse GlassFish EL injection in gadget handler](https://junglewise.ai/threats/cve-2026-2587-eclipse-glassfish-el-injection-in-gadget-handler)
- [Eclipse GlassFish RCE via EL Injection in Administration Console](https://junglewise.ai/threats/cve-2026-2586-eclipse-glassfish-rce-via-el-injection-in-administration-console)
- [Eclipse GlassFish is vulnerable to Server Side Request Forgery attacks through specific endpoints](https://junglewise.ai/threats/cve-2024-9408-eclipse-glassfish-is-vulnerable-to-server-side-request-forgery)
- [Eclipse GlassFish is vulnerable to Stored XSS attacks through its Administration Console](https://junglewise.ai/threats/cve-2024-9343-eclipse-glassfish-is-vulnerable-to-stored-xss-attacks-through-its)
