CVE-2023-41877

GeoServer log file path traversal vulnerability

Published Mar 20, 2024 CVSS 3.1 · 7.2 High EPSS 1.3% KEV · Not listed
Description
GeoServer is an open source software server written in Java that allows users to share and edit geospatial data. A path traversal vulnerability in versions 2.23.4 and prior requires GeoServer Administrator with access to the admin console to misconfigure the Global Settings for log file location to an arbitrary location. The admin console GeoServer Logs page provides a preview of these contents. As this issue requires GeoServer administrators access, often representing a trusted party, the vulnerability has not received a patch as of time of publication. As a workaround, a system administrator responsible for running GeoServer can use the `GEOSERVER_LOG_FILE` setting to override any configuration option provided by the Global Settings page. The `GEOSERVER_LOG_LOCATION` parameter can be set as system property, environment variables, or servlet context parameters.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-0875 GeoServer is an open source software server written in Java that allows users to share and edit geospatial data. A path traversal vulnerability in versions 2.23.4 and prior requires GeoServer Administrator with access to the admin console to misconfigure the Global Settings for log file location to an arbitrary location. The admin console GeoServer Logs page provides a preview of these contents. As this issue requires GeoServer administrators access, often representing a trusted party, the vulnerability has not received a patch as of time of publication. As a workaround, a system administrator responsible for running GeoServer can use the `GEOSERVER_LOG_FILE` setting to override any configuration option provided by the Global Settings page. The `GEOSERVER_LOG_LOCATION` parameter can be set as system property, environment variables, or servlet context parameters.
Github GHSA Github GHSA GHSA-8g7v-vjrc-x4g5 GeoServer log file path traversal vulnerability
History
Type Values Removed Values Added
First Time appeared Osgeo
Osgeo geoserver
CPEs cpe:2.3:a:geoserver:geoserver:*:*:*:*:*:*:*:* cpe:2.3:a:osgeo:geoserver:*:*:*:*:*:*:*:*
Vendors & Products Geoserver
Geoserver geoserver
Osgeo
Osgeo geoserver
Type Values Removed Values Added
First Time appeared Geoserver
Geoserver geoserver
CPEs cpe:2.3:a:geoserver:geoserver:*:*:*:*:*:*:*:*
Vendors & Products Geoserver
Geoserver geoserver
Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 2, 2024, 7:09 PM
Reserved
Sep 4, 2023, 4:31 PM
Status
Analyzed
Published
Mar 20, 2024, 3:15 PM
Modified
Nov 30, 2026, 7:14 PM