OSGeo GeoServer XML Injection / XXE / SSRF Exploitation (CVE-2026-120705)
Detects exploitation attempts against OSGeo GeoServer via XML injection, XML External Entity (XXE) processing, and server-side request forgery (SSRF) against OGC web service endpoints (WFS, WMS, WCS, WPS). CVE-2026-120705 is a KEV-listed GeoServer vulnerability (CWE-91 XML injection, CWE-611 XXE, CWE-918 SSRF) added to the CISA KEV catalog on 2026-11-27. Exploitation typically involves POST requests carrying crafted XML payloads (OGC filter/transaction bodies) containing DOCTYPE/ENTITY declarations or SYSTEM references pointing at internal or external resources. This detection inspects web, proxy, and WAF telemetry for malicious XML bodies and anomalous outbound requests originating from GeoServer hosts.
Vulnerability Intelligence
KEV — Known ExploitedAffected Software
- Vendor
- OSGeo
- Product
- GeoServer
- Versions
- GeoServer < 2.27.7, GeoServer >= 2.28.0, < 2.28.6, GeoServer >= 3.0.0, < 3.0.2
Timeline
- Disclosed
- November 27, 2026
References & Proof of Concept
- https://geoserver.org/vulnerability/2026/11/23/cve-update.html
- https://github.com/geoserver/geoserver/security/advisories/GHSA-39mw-5chv-jh47
- https://www.cisa.gov/news-events/directives/bod-26-04-prioritizing-security-updates-based-risk
- https://www.cisa.gov/news-events/directives/bod-26-04-implementation-guidance-prioritizing-security-updates-based-risk
- https://nvd.nist.gov/vuln/detail/CVE-2026-120705
- https://thehackernews.com/2026/11/hackers-exploit-two-geoserver-flaws-as.html
CVSS
What is CVE-2026-120705 OSGeo GeoServer XML Injection / XXE / SSRF Exploitation (CVE-2026-120705)?
OSGeo GeoServer XML Injection / XXE / SSRF Exploitation (CVE-2026-120705) (CVE-2026-120705) maps to the Initial Access and Execution and Collection tactics — the adversary is trying to get into your network in MITRE ATT&CK.
This page provides production-ready detection logic for OSGeo GeoServer XML Injection / XXE / SSRF Exploitation (CVE-2026-120705), covering the data sources and telemetry it touches: IIS Logs, Web Server Logs, Reverse Proxy. The queries below are rated high severity at medium confidence, and ship for 7 SIEM platforms — KQL, SPL, Elastic, QRadar, Sumo, YARA-L, LogScale.
MITRE ATT&CK
- Tactic
- Initial Access Execution Collection
// df00tech DF00-b121beebac · https://df00tech.com/detections/CVE-2026-120705 · licence: https://df00tech.com/detections/licence
let geoserverPaths = dynamic(["/geoserver/wfs","/geoserver/wms","/geoserver/wcs","/geoserver/ows","/geoserver/wps","/geoserver/web"]);
W3CIISLog
| where csUriStem has_any (geoserverPaths) or csUriStem has "/geoserver/"
| where csMethod in ("POST","PUT")
| extend body = tolower(coalesce(csReferer, ""))
| where csUriQuery has_any ("DOCTYPE","ENTITY","SYSTEM") or csUriQuery has "file:" or csUriQuery has "ftp:" or csUriQuery has "jar:"
| project TimeGenerated, cIP, csMethod, csUriStem, csUriQuery, scStatus, csUserAgent, Computer
| order by TimeGenerated desc Finds POST/PUT requests to GeoServer OGC endpoints whose URI or query carries XXE/XML-injection markers such as DOCTYPE, ENTITY, SYSTEM or protocol handlers used for SSRF/file read.
Data Sources
Required Tables
False Positives
- Legitimate WFS Transaction (wfs:Transaction) XML posts from GIS clients that include large XML bodies
- Security scanners and authorized vulnerability assessments probing the GeoServer OGC endpoints
- GIS automation that templates OGC requests and may include escaped entity-like strings
Query fingerprint DF00-b121beebac · licence
Sigma logsource & community rules
The detection logic for OSGeo GeoServer XML Injection / XXE / SSRF Exploitation (CVE-2026-120705) (CVE-2026-120705) above is provided in a vendor-neutral
form so you can deploy it on any SIEM. The same logic is shipped here as native
KQL (Microsoft Sentinel / Defender), SPL (Splunk), Elastic (Elastic Security (EQL)), QRadar (IBM QRadar (AQL)), Sumo (Sumo Logic CSE), YARA-L (Google Chronicle / SecOps), LogScale (CrowdStrike LogScale (CQL)) queries. In Sigma terms, this detection targets the
following logsource:
logsource:
category: network_connection
product: windows Browse the community-maintained Sigma rules for this technique:
Platform-specific guides for CVE-2026-120705
References (5)
- https://geoserver.org/vulnerability/2026/11/23/cve-update.html
- https://github.com/geoserver/geoserver/security/advisories/GHSA-39mw-5chv-jh47
- https://nvd.nist.gov/vuln/detail/CVE-2026-120705
- https://www.cisa.gov/news-events/directives/bod-26-04-prioritizing-security-updates-based-risk
- https://thehackernews.com/2026/11/hackers-exploit-two-geoserver-flaws-as.html
Testing Methodology
Validate this detection against 3 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are further down this page.
- Test 1 Simulated XXE POST to GeoServer WFS endpoint (lab)
Expected signal: Web/proxy log entry for POST /geoserver/wfs with request body containing DOCTYPE, ENTITY and SYSTEM
- Test 2 Simulated SSRF via GeoServer OGC request (lab)
Expected signal: Web/proxy log entry for POST /geoserver/ows with body containing SYSTEM and ftp: handler
- Test 3 High-volume OGC endpoint probing (lab)
Expected signal: Numerous POST entries from one source across multiple /geoserver/ paths within a short window
Response Playbook
Triage
- Confirm the targeted host is running OSGeo GeoServer and identify its exact version against the vendor advisory GHSA-39mw-5chv-jh47 and the vendor CVE update page to determine whether it is in an affected range.
- Extract and decode the full XML request body from the alerting request and determine whether it contains a DOCTYPE/ENTITY declaration (XXE) or a SYSTEM/protocol reference indicating file read or SSRF.
- Review the source IP reputation, geolocation, and whether the same source issued multiple OGC endpoint requests (WFS/WMS/WCS/WPS) in a short window suggesting automated exploitation.
- Correlate the request with GeoServer application logs and any resulting outbound connections from the GeoServer host to internal or external addresses (SSRF indicator).
Containment
- Block the offending source IP(s) at the WAF/reverse proxy and restrict external access to GeoServer OGC endpoints to known clients.
- Apply the vendor-provided GeoServer update (2.27.7, 2.28.6, or 3.0.2) or configuration mitigation (disable external entity resolution and restrict outbound network access from the GeoServer service account) per the vendor advisory.
Evidence Collection
- Preserve web server, reverse proxy, and WAF logs including full request bodies for the affected time window.
- Capture GeoServer application/catalog logs, JVM process details, and any files the service read or wrote, plus outbound connection records from the GeoServer host.
Escalation Criteria
- ! Evidence that the XXE/SSRF retrieved internal files, cloud metadata, or reached internal-only services indicates successful exploitation, escalate to incident response.
- ! Outbound data exfiltration, new persistence, or lateral movement originating from the GeoServer host requires immediate escalation and host isolation.
Investigation Guide
Forensic Artifacts
- >
Web/proxy access logs containing POST bodies with DOCTYPE/ENTITY/SYSTEM markers - >
GeoServer application logs and JVM garbage/error traces referencing entity resolution or network calls - >
Outbound connection records from the GeoServer host to internal addresses or metadata endpoints
Tuning Guidance
Baseline the set of legitimate GIS client source IPs and user agents that normally submit wfs:Transaction XML; allowlist those to reduce noise. Tighten body-pattern matching to require DOCTYPE together with SYSTEM/ENTITY rather than any single keyword if valid payloads trigger false positives. Prioritize alerts where the request is followed by anomalous outbound traffic from the GeoServer host.
Hunting Queries
Finds source IPs issuing a high volume of POST/PUT requests across multiple GeoServer OGC endpoints, a pattern consistent with automated exploitation attempts.
// df00tech DF00-b121beebac · https://df00tech.com/detections/CVE-2026-120705 · licence: https://df00tech.com/detections/licence
W3CIISLog | where csUriStem has "/geoserver/" and csMethod in ("POST","PUT") | summarize count(), dcount(csUriStem) by cIP, bin(TimeGenerated, 1h) | where count_ > 20 ``` df00tech DF00-b121beebac · https://df00tech.com/detections/CVE-2026-120705 · licence: https://df00tech.com/detections/licence ```
index=web uri_path="*/geoserver/*" (method=POST OR method=PUT) | stats count dc(uri_path) as paths by src_ip | where count>20 Atomic Red Team Tests
Sends a benign XML body containing an external entity declaration to a lab GeoServer WFS endpoint to validate web-log and WAF detection of XXE markers.
Command
curl -s -X POST 'https://geoserver.lab.local/geoserver/wfs' -H 'Content-Type: application/xml' --data '<?xml version="1.0"?><!DOCTYPE t [<!ENTITY x SYSTEM "file:///etc/hostname">]><wfs:GetFeature xmlns:wfs="http://www.opengis.net/wfs">&x;</wfs:GetFeature>' Cleanup
echo 'No persistent changes; clear test request from lab logs if required' Expected Telemetry
Web/proxy log entry for POST /geoserver/wfs with request body containing DOCTYPE, ENTITY and SYSTEM
Expected Detection
KQL/SPL/EQL rules fire on the DOCTYPE+ENTITY+SYSTEM markers in the POST body
Posts an XML body referencing an internal resource URL to validate detection of SSRF/file-handler markers.
Command
curl -s -X POST 'https://geoserver.lab.local/geoserver/ows' -H 'Content-Type: application/xml' --data '<?xml version="1.0"?><!DOCTYPE t [<!ENTITY s SYSTEM "ftp://169.254.169.254/latest/">]><t>&s;</t>' Cleanup
echo 'No persistent changes' Expected Telemetry
Web/proxy log entry for POST /geoserver/ows with body containing SYSTEM and ftp: handler
Expected Detection
Rules match the SYSTEM + protocol handler markers and flag potential SSRF
Issues repeated POST requests across multiple GeoServer OGC endpoints to validate the high-volume hunting query.
Command
for p in wfs wms wcs ows wps; do for i in $(seq 1 10); do curl -s -X POST "https://geoserver.lab.local/geoserver/$p" -H 'Content-Type: application/xml' --data '<?xml version="1.0"?><t>probe</t>' >/dev/null; done; done Cleanup
echo 'No persistent changes' Expected Telemetry
Numerous POST entries from one source across multiple /geoserver/ paths within a short window
Expected Detection
High-volume hunting query flags the source IP for enumerating multiple OGC endpoints
Related Detections
Related Techniques
Same Tactic: Initial Access
Browse by tactic
- Reconnaissance TA0043
- Resource Development TA0042
- Initial Access TA0001
- Execution TA0002
- Persistence TA0003
- Privilege Escalation TA0004
- Stealth TA0005
- Defense Impairment TA0112
- Credential Access TA0006
- Discovery TA0007
- Lateral Movement TA0008
- Collection TA0009
- Command and Control TA0011
- Exfiltration TA0010
- Impact TA0040