Skip to content
High 7.2

Path Traversal in org.geoserver:gs-main

CVE-2023-41877 First seen on SecPulse

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

A vulnerability tracked as CVE-2023-41877 has been found in org.geoserver:gs-main.
Attackers can target a specific entry point like GEOSERVER_LOG_LOCATION over the network to misuse the product.
Successful exploitation can lead to full system takeover.
What to do: apply the vendor's official patched release.
If unsure, ask your IT team or search "org.geoserver:gs-main CVE-2023-41877" on the vendor's site.

CVE-2023-41877 (org.geoserver:gs-main) — CWE-22
Attack vector: remote (network-reachable) / no user interaction
Attack surface: GEOSERVER_LOG_LOCATION / GEOSERVER_LOG_FILE
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.

What is the problem

Path traversal (CWE-22) exists in org.geoserver:gs-main. Attackers reach the vulnerable code path via GEOSERVER_LOG_LOCATION.

Affected scope

Check the vendor advisory for the affected versions of org.geoserver:gs-main. Attack surface: GEOSERVER_LOG_LOCATION / GEOSERVER_LOG_FILE.

Severity

Severity: ?. Successful exploitation can lead to full system takeover.

How to fix

Update to the patched release per vendor advisory.

Workaround

Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.

Detection

Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Audit SBOM/dependencies to find affected services.

Response actions

Concrete steps and command examples for SOC/SRE teams to execute in order

  1. 1
    Identify exposureidentify
    Audit SBOM/dependencies for affected components.

    資産台帳・SBOM・依存マニフェストで org.geoserver:gs-main を使っているサービスとバージョンを洗い出す。

  2. 2
    Post-deployment verificationverify
    Confirm patched version is live in production

    パッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。

Affected packages

PackageAffected → Fixed
mavenorg.geoserver:gs-main
≤ 2.23.4→ Not listed

This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.

Original description The description as published by the source.

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.

Source: GitHub Security Advisories (Global) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details