CVE-2026-49345
JSON

5.3medium

Mercator CVE Configuration Vulnerable to Server-Side Request Forgery (SSRF)

Severity
5.3medium CVSS:4.0 by GitHub_M
Exploit likelihood
0.63% (higher than 45% of CVEs)
Published
Last changed
Assigned by
GitHub_M

Description

Mercator is an open source web application that enables mapping of the information system. Prior to version 2025.05.19, a Server-Side Request Forgery (SSRF) vulnerability exists in Mercator's CVE configuration panel (`/admin/config/parameters`). The `testProvider()` method in `ConfigurationController` passes user-supplied input directly to `curl_init()` without validating the scheme, hostname, or destination IP address. An authenticated user with the `configure` permission can force the Mercator server to issue arbitrary outbound network requests. The suffix `/api/dbInfo` appended to the URL can be bypassed by injecting a `#` fragment character (e.g. `http://TARGET/PATH#`), allowing full control over the target URL. No scheme whitelist, host whitelist, or private/loopback IP block is applied. The `telnet://` scheme can be used for internal port scanning; the `gopher://` scheme enables interaction with unauthenticated internal services (Redis, Memcached), potentially leading to Remote Code Execution under specific deployment conditions. Version 2025.05.19 patches the issue.

Affected

Product or packageVersionsReported by
sourcentis mercator< 2025.05.19CVE List

Classification

CWE-918

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

Mercator is an open source web application that enables mapping of the information system. Prior to version 2025.05.19, a Server-Side Request Forgery (SSRF) vulnerability exists in Mercator's CVE configuration panel (`/admin/config/parameters`). The `testProvider()` method in `ConfigurationController` passes user-supplied input directly to `curl_init()` without validating the scheme, hostname, or destination IP address. An authenticated user with the `configure` permission can force the Mercator server to issue arbitrary outbound network requests. The suffix `/api/dbInfo` appended to the URL can be bypassed by injecting a `#` fragment character (e.g. `http://TARGET/PATH#`), allowing full control over the target URL. No scheme whitelist, host whitelist, or private/loopback IP block is applied. The `telnet://` scheme can be used for internal port scanning; the `gopher://` scheme enables interaction with unauthenticated internal services (Redis, Memcached), potentially leading to Remote Code Execution under specific deployment conditions. Version 2025.05.19 patches the issue.

NVD (es)

Mercator es una aplicación web de código abierto que permite el mapeo del sistema de información. Antes de la versión 2025.05.19, una vulnerabilidad de falsificación de petición del lado del servidor (SSRF) existe en el panel de configuración CVE de Mercator (’/admin/config/parameters’). El método ’testProvider()’ en ’ConfigurationController’ pasa la entrada proporcionada por el usuario directamente a ’curl_init()’ sin validar el esquema, el nombre de host o la dirección IP de destino. Un usuario autenticado con el permiso ’configure’ puede forzar al servidor Mercator a emitir peticiones de red salientes arbitrarias. El sufijo ’/api/dbInfo’ añadido a la URL puede ser omitido inyectando un carácter de fragmento ’#’ (p. ej., ’http://TARGET/PATH#’), permitiendo el control total sobre la URL de destino. No se aplica ninguna lista blanca de esquemas, lista blanca de hosts o bloqueo de IP privadas/loopback. El esquema ’telnet://’ puede ser utilizado para el escaneo interno de puertos; el esquema ’gopher://’ permite la interacción con servicios internos no autenticados (Redis, Memcached), lo que podría llevar a la ejecución remota de código bajo condiciones de despliegue específicas. La versión 2025.05.19 corrige el problema.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-49345 changed 2026-06-22CVE Terms of Use
NVDCVE-2026-49345 changed 2026-10-25Public domain