Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-5gw5-jccf-6hxw

Опубликовано: 10 июн. 2025
Источник: github
Github: Прошло ревью
CVSS3: 7.5

Описание

GeoServer Vulnerable to Unauthenticated SSRF via TestWfsPost

Summary

It possible to achieve Service Side Request Forgery (SSRF) via the Demo request endpoint if Proxy Base URL has not been set.

Details

A unauthenticated user can supply a request that will be issued by the server. This can be used to enumerate internal networks and also in the case of cloud instances can be used to obtain sensitive data.

Mitigation

  1. When using GeoServer with a proxy, manage the proxy base value as a system administrator, use the application property PROXY_BASE_URL to provide a non-empty value that cannot be overridden by the user interface or incoming request.

  2. When using GeoServer directly without a proxy, block all access to TestWfsPost by editing the web.xml file. Adding this block right before the end:

    <security-constraint> <web-resource-collection> <web-resource-name>BlockDemoRequests</web-resource-name> <url-pattern>/TestWfsPost/*</url-pattern> </web-resource-collection> <auth-constraint> <role-name>BLOCKED</role-name> </auth-constraint> </security-constraint>

Resolution

Upgrading to GeoServer 2.24.4, or 2.25.2, removes the TestWfsPost servlet resolving this issue.

The demo request page functionality is now implemented directly in the browser.

Reference

Пакеты

Наименование

org.geoserver:gs-wfs

maven
Затронутые версииВерсия исправления

>= 2.0.0, < 2.24.4

2.24.4

Наименование

org.geoserver.web:gs-app

maven
Затронутые версииВерсия исправления

>= 2.0.0, < 2.24.4

2.24.4

Наименование

org.geoserver:gs-wfs

maven
Затронутые версииВерсия исправления

>= 2.25.0, < 2.25.2

2.25.2

Наименование

org.geoserver.web:gs-app

maven
Затронутые версииВерсия исправления

>= 2.25.0, < 2.25.2

2.25.2

EPSS

Процентиль: 91%
0.06435
Низкий

7.5 High

CVSS3

Дефекты

CWE-918

Связанные уязвимости

CVSS3: 7.5
nvd
8 месяцев назад

GeoServer is an open source software server written in Java that allows users to share and edit geospatial data. It possible to achieve Service Side Request Forgery (SSRF) via the Demo request endpoint if Proxy Base URL has not been set. Upgrading to GeoServer 2.24.4, or 2.25.2, removes the TestWfsPost servlet resolving this issue.

CVSS3: 7.5
fstec
8 месяцев назад

Уязвимость компонента TestWfsPost программного обеспечения для администрирования и публикации геоданных на сервере OSGeo GeoServer, позволяющая нарушителю получить несанкционированный доступ к защищаемой информации

EPSS

Процентиль: 91%
0.06435
Низкий

7.5 High

CVSS3

Дефекты

CWE-918