SecurityContext

CVE-2024-34711: GeoServer - XML External Entity Injection

  • Cve: CVE-2024-34711
  • Name: GeoServer - XML External Entity Injection
  • Description: GeoServer is an open source server that allows users to share and edit geospatial data. 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. 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. Attacker can abuse this to scan internal networks and gain information about them then exploit further. GeoServer 2.25.0 and greater default to the use of ENTITY_RESOLUTION_ALLOWLIST and does not require you to provide a system property.
  • Impact: Attackers can scan internal networks and gain sensitive information, potentially leading to further exploitation.
  • Remediation: Update to GeoServer 2.25.0 or later which uses ENTITY_RESOLUTION_ALLOWLIST by default.
  • Vulnerability type: xml_external_entity_injection
  • Vulnerability impact: information_disclosure
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.2
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
  • Epss score: 0.00311
  • Epss percentile: 0.2419
  • Assignee: [email protected]
  • Published at: 2025-06-10T15:15:22Z
  • Age in days: 532
  • Modified at: 2026-06-17T07:33:55Z
  • Patch available: yes
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-34711
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-200Exposure of Sensitive Information to an Unauthorized Actor

References

UrlSourceTags
https://github.com/geoserver/geoserver/security/advisories/GHSA-mc43-4fqr-c965nvdMitigation, Third Party Advisory
https://docs.geoserver.org/latest/en/user/production/config.html#production-config-external-entitiesnvdProduct

Products

ProductAffectedPlatform boundSourcesUrl
osgeo:geoserver< 2.25.0nonvd/v1/products/osgeo/geoserver

Projects

RepositoryLink kindsIndexedUrl
geoserver/geoserverpackage, security_advisoryyes/v1/repositories/geoserver/geoserver

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Exposed hosts: 25379
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports