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.
References
Link | Resource |
---|---|
https://github.com/geoserver/geoserver/security/advisories/GHSA-j59v-vgcr-hxvf | Vendor Advisory |
https://github.com/geoserver/geoserver/security/advisories/GHSA-j59v-vgcr-hxvf | Vendor Advisory |
Configurations
Configuration 1 (hide)
|
History
21 Nov 2024, 09:19
Type | Values Removed | Values Added |
---|---|---|
CVSS |
v2 : v3 : |
v2 : unknown
v3 : 4.5 |
References | () https://github.com/geoserver/geoserver/security/advisories/GHSA-j59v-vgcr-hxvf - Vendor Advisory |
03 Jul 2024, 14:42
Type | Values Removed | Values Added |
---|---|---|
First Time |
Geoserver
Geoserver geoserver |
|
Summary |
|
|
CVSS |
v2 : v3 : |
v2 : unknown
v3 : 4.9 |
References | () https://github.com/geoserver/geoserver/security/advisories/GHSA-j59v-vgcr-hxvf - Vendor Advisory | |
CPE | cpe:2.3:a:geoserver:geoserver:*:*:*:*:*:*:*:* | |
CWE | NVD-CWE-noinfo |
01 Jul 2024, 15:15
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2024-07-01 15:15
Updated : 2024-11-21 09:19
NVD link : CVE-2024-34696
Mitre link : CVE-2024-34696
CVE.ORG link : CVE-2024-34696
JSON object : View
Products Affected
geoserver
- geoserver
CWE