4.9

CVE-2024-34696: GeoServer's Server Status shows sensitive environmental variables and Java properties

Modified
AliasesGHSA-j59v-vgcr-hxvf
Published 01-07-2024Last modified 02-08-2024

Vulnerability summary

CVE-2024-34696 is a medium (CVSS 4.9) vulnerability in geoserver. EPSS estimates a 0.40% chance of exploitation in the next 30 days, higher than 36% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 4.5, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
4.9/10
010
Medium · v3.1 (NVD)
EPSS score
0.40%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 01-07-2024
    PublishedVulnerability first disclosed.
  2. 02-08-2024
    Last modifiedVulnerability information updated.

Description

GeoServer is an open source server that allows users to share and edit geospatial data. Starting in version 2.10.0 and prior to versions 2.24.4 and 2.25.1, GeoServer's Server Status page and REST API lists all environment variables and Java properties to any GeoServer user with administrative rights as part of those modules' status message. These variables/properties can also contain sensitive information, such as database passwords or API keys/tokens. Additionally, many community-developed GeoServer container images `export` other credentials from their start-up scripts as environment variables to the GeoServer (`java`) process. The precise scope of the issue depends on which container image is used and how it is configured. The `about status` API endpoint which powers the Server Status page is only available to administrators.Depending on the operating environment, administrators might have legitimate access to credentials in other ways, but this issue defeats more sophisticated controls (like break-glass access to secrets or role accounts).By default, GeoServer only allows same-origin authenticated API access. This limits the scope for a third-party attacker to use an administrator’s credentials to gain access to credentials. The researchers who found the vulnerability were unable to determine any other conditions under which the GeoServer REST API may be available more broadly. Users should update container images to use GeoServer 2.24.4 or 2.25.1 to get the bug fix. As a workaround, leave environment variables and Java system properties hidden by default. Those who provide the option to re-enable it should communicate the impact and risks so that users can make an informed choice.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.40%

Chance of exploitation in the next 30 days

Percentile

36%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.40% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, administrative account, user interaction (CVSS vector). Other conditions: not stated in public data.

Geoserver1 product
  • geoserver≥ 2.10.0, < 2.24.4 | ≥ 2.25.0, < 2.25.1
Org.geoserver1 product
  • gs-main≥ 2.10.0, < 2.24.4 | ≥ 2.25.0, < 2.25.1
Org.geoserver.web1 product
  • gs-web-app≥ 2.10.0, < 2.24.4 | ≥ 2.25.0, < 2.25.1
Osgeo1 product
  • geoserver≥ 2.10.0, < 2.24.4 | ≥ 2.25.0, < 2.25.1

4 vendors · 4 products

References

3 links