Vulnerability in org.geoserver.web:gs-web-app (CVE-2025-52465)
Summary
Vulnerability in org.geoserver.web:gs-web-app (CVE-2025-52465). Successful exploitation can lead to full system takeover. Mitigation: upgrade to 2.26.4 or later.
Original description
The description as published by the source.
Summary
A vulnerability exists that allows an authenticated administrator with access to GeoServer's security system to pass arbitrary file names to the Master Password Dump web page and create files containing the master password in plaintext. The provided file name must be an absolute path to the target file, the target file can not already exist and all parent directories must already exist.
Details
When dumping the master password, GeoServer will use the provided file name with minimal validation as long as it is a java.io.File path. The only limitation is that the fix for a previous, unrelated vulnerability prevents relative path traversal here but absolute paths can be used to access arbitrary files. GeoServer does not enforce a maximum password length by default which allows an administrator to place malicious code into their password which could then be dumped into a JSP file.
Impact
Remote Code Execution (High severity)
This vulnerability can lead to executing arbitrary code if GeoServer is deployed in an environment where an attacker can dynamically deploy and execute a JSP file. This is possible if the geoserver.war file is simply placed into the webapps directory of a default Tomcat installation.
NTLM Hash Disclosure (Moderate severity)
If GeoServer is deployed in a Windows operating system and the GeoServer administrator does not already have access to the Windows account running the GeoServer process, it may be possible for the administr…
Source: GitHub Security Advisories (Global) NVD GitHub Advisory
Auto-generated summary
Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.
A vulnerability tracked as CVE-2025-52465 has been found in org.geoserver.web:gs-web-app.
Successful exploitation can lead to full system takeover. CVSS score: 7.2/10.
What to do: upgrade org.geoserver.web:gs-web-app to 2.26.4 or later.
If unsure, ask your IT team or search "org.geoserver.web:gs-web-app CVE-2025-52465" on the vendor's site.
CVE-2025-52465 (org.geoserver.web:gs-web-app) — CWE-73 / CVSS v3 7.2
Attack vector: remote (network-reachable) / no user interaction
Patched: 2.26.4 — apply immediately
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.
A vulnerability (CWE-73) exists in org.geoserver.web:gs-web-app.
Check the vendor advisory for the affected versions of org.geoserver.web:gs-web-app.
Severity: High (CVSS 7.2/10). Successful exploitation can lead to full system takeover.
Update to 2.26.4.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
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
-
1Identify exposure identify
Audit SBOM/dependencies for affected components.資産台帳・SBOM・依存マニフェストで org.geoserver.web:gs-web-app を使っているサービスとバージョンを洗い出す。
-
2Apply patch patch
Upgrade org.geoserver.web:gs-web-app to 2.26.4ステージング環境で 2.26.4 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
References
- advisory nvd.nist.gov
- issue security-advisories@github.com
- package github.com
- patch security-advisories@github.com
- patch security-advisories@github.com
- web github.com
- web security-advisories@github.com