GeoServer WMS GetMap XXE Arbitrary File Read
Title source: metasploitExploitation Summary
CVE-2025-58360 is actively exploited and listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, added December 11, 2025.
EIP tracks 8 public exploits from researchers including quyenheu, thomas-osgood, dyeat, including a Metasploit module auxiliary/gather/geoserver_wms_getmap_xxe_file_read.
A Nuclei detection template is also available.
AI-analyzed exploit summary This PoC demonstrates an XXE vulnerability in GeoServer versions 2.26.0 to 2.26.2 and before 2.25.6. It sends a crafted XML payload to the /geoserver/wms endpoint to read /etc/passwd.
Description
GeoServer is an open source server that allows users to share and edit geospatial data. From version 2.26.0 to before 2.26.2 and before 2.25.6, an XML External Entity (XXE) vulnerability was identified. The application accepts XML input through a specific endpoint /geoserver/wms operation GetMap. However, this input is not sufficiently sanitized or restricted, allowing an attacker to define external entities within the XML request. This issue has been patched in GeoServer 2.25.6, GeoServer 2.26.3, and GeoServer 2.27.0.
Exploits (8)
This PoC demonstrates an XXE vulnerability in GeoServer versions 2.26.0 to 2.26.2 and before 2.25.6. It sends a crafted XML payload to the /geoserver/wms endpoint to read /etc/passwd.
This repository contains a Python-based exploit for CVE-2025-58360, an XXE vulnerability in GeoServer. The exploit automates the process of leaking arbitrary files from a vulnerable GeoServer instance by crafting malicious XML payloads and extracting the leaked data from the server's response.
The repository contains functional exploit code for CVE-2025-58360, targeting GeoServer. The PoC demonstrates an information disclosure vulnerability, as evidenced by the presence of screenshots showing the retrieval of sensitive files like /etc/passwd.
This repository describes a bypass technique for CVE-2025-58360, an unauthenticated XXE vulnerability in GeoServer. The attack leverages the WMS GetMap operation via the OWS endpoint to bypass WAF protections.
This is a functional PoC for CVE-2025-58360, demonstrating an unauthenticated XXE vulnerability in GeoServer's WMS GetMap endpoint via the SLD_BODY parameter. The exploit includes educational explanations and supports file reading and SSRF probing.
This repository provides a Nuclei template for detecting CVE-2025-58360, an unauthenticated XXE vulnerability in GeoServer versions prior to 2.25.6, 2.26.2, 2.27.0, 2.28.0, and 2.28.1. The script checks headers for the last updated date to identify vulnerable instances.
This repository contains a detailed writeup and proof-of-concept examples for CVE-2025-58360, an XXE vulnerability in GeoServer's WMS endpoint. It includes technical details, affected versions, and exploit examples for file disclosure, SSRF, and DoS attacks.
This Metasploit module exploits an XXE vulnerability in GeoServer via the WMS GetMap operation to read arbitrary files from the server's filesystem. The exploit crafts a malicious SLD payload with an external entity reference and extracts the file content from the error response.
Nuclei Templates (1)
title:"geoserver" || http.html_hash:1093634893 "Content-Disposition: inline" || http.favicon.hash:97540678 || html:"/geoserver/"
title="geoserver" || app="geoserver" || icon_hash="97540678" || body="/geoserver/"
References (3)
Scores
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L