Media

Unsecured WMS dynamic styling sld=<url> parameter affords blind unauthenticated SSRF

  • Publicada: 24.10.2023
  • Actualizado: 11.10.2026 12:21

Summary

The WMS specification defines an sld=<url> parameter for GetMap, GetLegendGraphic and GetFeatureInfo operations for user supplied "dynamic styling". Enabling the use of dynamic styles, without also configuring URL checks, provides the opportunity for Service Side Request Forgery.

It is possible to use this for "Blind SSRF" on the WMS endpoint to steal NetNTLMv2 hashes via file requests to malicious servers.

Details

This vulnerability requires:

  • WMS Settings dynamic styling being enabled
  • Security URL checks to be disabled, or to be enabled and allowing file:\\* access

Impact

This vulnerability can be used to steal user NetNTLMv2 hashes which could be relayed or cracked externally to gain further access.

Mitigation

The ability to reference an external URL location is defined by the WMS standard GetMap, GetFeatureInfo and GetLegendGraphic operations. These operations are defined by an Industry and International standard and cannot be redefined by the GeoServer application in isolation.

To disable dynamic styling on GeoServer 2.10.3 and GeoServer 2.11.1:

  1. Navigate to Services > WMS Settings page
  2. Locate Dynamic styling heading
  3. Select the Disable usage of SLD and SLD_BODY parameters in GET requests and user styles in POST checkbox.

Resolution

To allow dynamic styling safely on GeoServer 2.22.5 and GeoServer 2.23.2:

  1. Navigate to Security > URL Checks
  2. Enable URL Checks are enabled setting
  3. Check the user manual for examples of how to trust specific locations: ^https://styles\.server\.net/cartography/.*$
  4. Enable dynamic styling on the Services > WMS Settings page, deselect the Disable usage of SLD and SLD_BODY parameters in GET requests and user styles in POST checkbox.

Use of dynamic styling safely is on by default in GeoServer 2.24.0.

References

Software afectado

Haz clic en una tecnología para ver todas sus vulnerabilidades.

PlataformaPaqueteVersiones vulnerablesCorregida en
Java / Kotlin (Maven) org.geoserver:gs-wms < 2.22.5, >= 2.23.0, < 2.23.2 2.22.5, 2.23.2
Java / Kotlin (Maven) org.geoserver.web:gs-web-app < 2.22.5, >= 2.23.0, < 2.23.2 2.22.5, 2.23.2

Referencias

Puntuación CVSS 5.3/10
Vector CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Debilidad (CWE)
CWE-918
Plataforma
Java / Kotlin (Maven)
Paquete
org.geoserver:gs-wms, org.geoserver.web:gs-web-app
Publicada
24.10.2023
Actualizado
11.10.2026 12:21

Fuentes y licencias

OSV / GitHub Advisory Database - GHSA-cqpc-x2c6-2gmf - CC BY 4.0

Historial de vulnerabilidades: org.geoserver:gs-wms

Todas las vulnerabilidades publicadas de este paquete (Java / Kotlin (Maven)), de la más reciente a la más antigua. Muestra si es un fallo aislado o un paquete que hay que vigilar.

Todas (9) en el archivo
Entradas en total
9
Primera → última
06.2023 08.2026
Sin corrección
0
Explotada en ataques
2

Distribución por gravedad

  • Crítica 2
  • Alta 3
  • Media 4

Divulgaciones por año

  1. 2023: 2
  2. 2024: 3
  3. 2025: 3
  4. 2026: 1
Gravedad:
  1. Alta · 8.2 Explotada en ataques CVE-2025-58360 >= 2.26.0, < 2.26.2, < 2.25.6 2.26.2, 2.25.6
  2. Alta · 7.5 CVE-2025-30145 >= 2.26.0, < 2.26.3, < 2.25.7 2.26.3, 2.25.7
  3. Crítica · 9.8 Explotada en ataques 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
  4. Unsecured WMS dynamic styling sld=<url> parameter affords blind unauthenticated SSRF esta entrada
    Media · 5.3 CVE-2023-41339 < 2.22.5, >= 2.23.0, < 2.23.2 2.22.5, 2.23.2
  5. Crítica · 9.8 CVE-2023-35042 < 2.18.6, >= 2.19.0, < 2.19.6, >= 2.20.0, < 2.20.4 2.18.6, 2.19.6, 2.20.4

Identifica las vulnerabilidades de tu aplicación

Con la integración de DockRay y el inventario de software activado, DockRay compara las versiones notificadas de los componentes con las vulnerabilidades conocidas y avisa de las coincidencias confirmadas. La cobertura depende de la tecnología compatible y de los avisos disponibles.

Conectar tu aplicación
Newsletter DockRay

La seguridad de tus aplicaciones en tu correo

Vulnerabilidades importantes, recomendaciones concretas y consejos prácticos para tus aplicaciones. Elige tus tecnologías y sigue lo que importa para tu proyecto.

  • Un resumen diario de nuevas vulnerabilidades, también las críticas.
  • Avisos sobre actualizaciones importantes.
  • Consejos prácticos sobre seguridad y monitorización de aplicaciones.

Déjalo vacío para recibir avisos de todas las tecnologías.

Suscripción gratuita. Date de baja con un clic en cualquier correo.