CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2024 · Osgeo

CVE-2024-34711
Osgeo Geoserver vulnerability

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.

High priority: this vulnerability is rated critical and can be attacked over the network without a login.

Affected products

Geoserver. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Osgeo Geoserver runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Osgeo products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.