Kritisch

GeoServer has improper ENTITY_RESOLUTION_ALLOWLIST URI validation in XML Processing (SSRF)

  • Veröffentlicht: 10.06.2025
  • Aktualisiert: 11.10.2026 12:21

Summary

An improper URI validation vulnerability exists that enables an unauthorized attacker to perform XML External Entities (XEE) attack, then send GET request to any HTTP server. Attacker can abuse this to scan internal networks and gain information about them then exploit further. Moreover, attacker can read limited .xsd file on system.

Details

By default, GeoServer use PreventLocalEntityResolver class from GeoTools to filter out malicious URIs in XML entities before resolving them. The URI must match the regex (?i)(jar:file|http|vfs)[^?#;]*\\.xsd. But the regex leaves a chance for attackers to request to any HTTP server or limited file.

Impact

An unauthenticated attacker can:

  1. Scan internal network to gain insight about it and exploit further.
  2. SSRF to endpoint ends with .xsd.
  3. Read limited .xsd file on system.

Mitigation

  1. Define the system property ENTITY_RESOLUTION_ALLOWLIST to limit the supported external schema locaitons.
  2. The built-in allow list covers the locations required for the operation of OGC web services: www.w3.org,schemas.opengis.net,www.opengis.net,inspire.ec.europa.eu/schemas.
  3. The user guide provides details on how to add additional locations (this is required for app-schema plugin where a schema is supplied to define an output format).

Resolution

  1. GeoServer 2.25.0 and greater default to the use of ENTITY_RESOLUTION_ALLOWLIST and does not require you to provide a system property.
  2. The use of ENTITY_RESOLUTION_ALLOWLIST is still supported if you require additional schema locations to be supported beyond the built-in allow list.
  3. GeoServer 2.25.1 change ENTITY_RESOLUTION_ALLOWLIST no longer supports regular expressions

References

Credits

  • Le Mau Anh Phong from VNG Security Response Center & VNUHCM - University of Information Technology

Betroffene Software

Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.

PlattformPaketAnfällige VersionenBehoben in
Java / Kotlin (Maven) org.geoserver.main:gs-main < 2.25.0 2.25.0
Java / Kotlin (Maven) org.geoserver.web:gs-web-app < 2.25.0 2.25.0

Verweise

CVSS-Wert 9.3/10
CVSS-Vektor
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N
Schwäche (CWE)
CWE-20, CWE-200, CWE-611, CWE-918
Plattform
Java / Kotlin (Maven)
Paket
org.geoserver.main:gs-main, org.geoserver.web:gs-web-app
Veröffentlicht
10.06.2025
Aktualisiert
11.10.2026 12:21

Quellen und Lizenzen

OSV / GitHub Advisory Database - GHSA-mc43-4fqr-c965 - CC BY 4.0

Schwachstellenhistorie: org.geoserver.web:gs-web-app

Alle veröffentlichten Schwachstellen dieses Pakets (Java / Kotlin (Maven)), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.

Alle (16) im Archiv
Einträge insgesamt
16
Erste → letzte
10.2023 08.2026
Ohne Fix
0
In Angriffen ausgenutzt
2

Verteilung nach Schweregrad

  • Kritisch 2
  • Hoch 6
  • Mittel 8

Veröffentlichungen pro Jahr

  1. 2023: 1
  2. 2024: 4
  3. 2025: 8
  4. 2026: 3
Schweregrad:
  1. Hoch · 7.2 CVE-2025-52465 >= 2.27.0, < 2.27.3, < 2.26.4 2.27.3, 2.26.4
  2. Hoch · 8.2 In Angriffen ausgenutzt CVE-2025-58360 >= 2.26.0, < 2.26.2, < 2.25.6 2.26.2, 2.25.6
  3. Hoch · 8.2 CVE-2025-30220 >= 2.27.0, < 2.27.1, >= 2.26.0, < 2.26.3, < 2.25.7 2.27.1, 2.26.3, 2.25.7
  4. Hoch · 7.5 CVE-2025-30145 >= 2.26.0, < 2.26.3, < 2.25.7 2.26.3, 2.25.7
  5. GeoServer has improper ENTITY_RESOLUTION_ALLOWLIST URI validation in XML Processing (SSRF) dieser Eintrag
    Kritisch · 9.3 CVE-2024-34711 < 2.25.0 2.25.0
  6. Kritisch · 9.8 In Angriffen ausgenutzt CVE-2024-36401 >= 2.24.0, < 2.24.4, >= 2.25.0, < 2.25.2, >= 2.23.0, < 2.23.6, < 2.22.6 2.24.4, 2.25.2, 2.23.6, 2.22.6
  7. Hoch · 7.5 CVE-2024-24749 < 2.23.5, >= 2.24.0, < 2.24.3 2.23.5, 2.24.3

Erkennen Sie Schwachstellen in Ihrer Anwendung

Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.

Anwendung verbinden
DockRay Newsletter

Anwendungssicherheit in Ihrem Postfach

Wichtige Schwachstellen, konkrete Empfehlungen und praktische Tipps für Ihre Anwendungen. Wählen Sie Ihre Technologien und verfolgen Sie, was für Ihr Projekt relevant ist.

  • Eine tägliche Zusammenfassung neuer Schwachstellen, auch kritischer.
  • Benachrichtigungen über wichtige Updates.
  • Praktische Tipps zur Sicherheit und Überwachung von Anwendungen.

Leer lassen, um Meldungen zu allen Technologien zu erhalten.

Kostenlos anmelden. In jeder E-Mail mit einem Klick abmelden.