Detect OSGeo GeoServer XXE Injection Exploitation Attempt in IBM QRadar
Detects exploitation attempts targeting CVE-2025-58360, an Improper Restriction of XML External Entity (XXE) Reference vulnerability in OSGeo GeoServer. Attackers can submit malicious XML payloads to GeoServer endpoints to perform server-side request forgery, read local files, or exfiltrate data via out-of-band DNS/HTTP channels. This CVE is listed on CISA's Known Exploited Vulnerabilities catalog.
MITRE ATT&CK
QRadar Detection Query
SELECT
DATEFORMAT(starttime, 'YYYY-MM-dd HH:mm:ss') AS event_time,
sourceip,
destinationip,
destinationport,
URL,
QIDNAME(qid) AS event_name,
username,
"HTTP Method" AS http_method,
"Post Data" AS post_data,
magnitude
FROM events
WHERE
LOWER(URL) MATCHES '.*\/geoserver\/(wfs|wcs|wms|ows|web).*'
AND "HTTP Method" IN ('POST', 'PUT')
AND (
LOWER("Post Data") MATCHES '.*(<!entity|system\s+["\']|<!doctype|file:\/\/|jar:\/\/|netdoc:\/\/).*'
OR LOWER(URL) MATCHES '.*(entity|doctype|system).*'
)
AND LOGSOURCETYPENAME(logsourceid) IN ('Apache HTTP Server', 'Microsoft IIS', 'Nginx', 'F5 BIG-IP LTM')
ORDER BY starttime DESC
LAST 24 HOURS AQL query for QRadar SIEM to identify XXE injection attempts against GeoServer service endpoints by inspecting HTTP POST/PUT request bodies and URLs for XML entity injection patterns.
Data Sources
Required Tables
False Positives & Tuning
- Automated GIS workflows submitting batch XML transactions to WFS endpoints with embedded schema references
- GeoServer health check tools that send XML payloads to service endpoints
- Content management integrations that use WCS or WFS to ingest geospatial data with complex XML structures
Other platforms for CVE-2025-58360
Testing Methodology
Validate this detection against 4 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 available with Pro.
- Test 1GeoServer XXE File Disclosure via WFS Request
Expected signal: Web server access log entry showing POST to /geoserver/wfs with 400/500 HTTP response status; GeoServer application log entry with SAXParseException or EntityException referencing file:///etc/passwd; network packet capture showing the XML payload in request body.
- Test 2GeoServer XXE SSRF to Cloud Metadata Endpoint
Expected signal: Outbound HTTP GET request from the GeoServer host to 169.254.169.254 visible in network flow logs or host-based network monitoring; web server log showing POST to /geoserver/wcs with the XXE payload.
- Test 3GeoServer Blind XXE Out-of-Band DNS Exfiltration
Expected signal: Outbound DNS resolution and HTTP GET request from GeoServer host to ATTACKER_DOMAIN visible in DNS logs and network flow telemetry; GeoServer application log may show entity resolution attempts or DTD fetch errors.
- Test 4GeoServer XXE via WMS GetMap Request with Malicious SLD
Expected signal: Web server access log showing GET to /geoserver/wms with SLD_BODY parameter containing DOCTYPE and ENTITY declarations; GeoServer log showing SLD parsing error with reference to file:///etc/hostname.
Unlock Pro Content
Get the full detection package for CVE-2025-58360 including response playbook, investigation guide, and atomic red team tests.