CVE-2024-34696
Java vulnerability analysis and mitigation

Overview

GeoServer's Server Status page and REST API vulnerability (CVE-2024-34696) affects versions from 2.10.0 up to (excluding) 2.24.4 and 2.25.1. The vulnerability exposes environment variables and Java properties containing sensitive information such as database passwords and API keys/tokens to any GeoServer user with administrative rights (GitHub Advisory).

Technical details

The vulnerability exists in the Server Status page and REST API endpoint (/geoserver/rest/about/status) which displays all environment variables and Java properties to users with administrative access. The issue has a CVSS v3.1 base score of 4.9 (Medium) with vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N, indicating network attack vector, low complexity, high privileges required, no user interaction needed, unchanged scope, and high confidentiality impact (NVD).

Impact

The vulnerability can expose sensitive information including database passwords, API keys/tokens, GeoServer admin and master passwords, Tomcat management passwords, HTTPS/TLS certificate keystore passwords, and AWS S3 bucket access keys. While only administrators can access this information, it bypasses more sophisticated security controls like break-glass access to secrets or role accounts (GitHub Advisory).

Exploitability

The vulnerability requires administrative access to exploit. By default, GeoServer only allows same-origin authenticated API access, which limits the scope for third-party attackers to use administrator credentials to access sensitive information. The researchers were unable to identify other conditions that would make the GeoServer REST API more broadly accessible (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in GeoServer versions 2.24.4 and 2.25.1, which hide all environment variables and Java system properties by default. Administrators are strongly recommended to leave these settings unchanged and use alternative mechanisms to access environment variables. For container/Docker image maintainers, it's recommended to update to the patched versions and implement defense-in-depth measures like passing secrets as files, using cloud provider secret management, and clearing sensitive environment variables before starting GeoServer (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-53837CRITICAL9.9
  • Java logoJava
  • org.xwiki.rendering:xwiki-rendering-xml
NoYesSep 18, 2026
CVE-2026-77615HIGH8.7
  • JavaScript logoJavaScript
  • paella-core
NoYesSep 17, 2026
CVE-2026-54148HIGH8.1
  • Java logoJava
  • org.http4k:http4k-security-digest
NoYesSep 18, 2026
CVE-2026-85058HIGH7.5
  • Java logoJava
  • io.moquette:moquette-broker
NoYesSep 18, 2026
CVE-2026-54147MEDIUM6.5
  • Java logoJava
  • org.http4k:http4k-security-digest
NoYesSep 18, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management