CVE-2026-77327
MapServer second-order SQL injection in MySQL JOIN handling
A remote attacker can inject SQL via imported file data to read unrelated MySQL or MariaDB records.
Texto original en inglés · Ver en español
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
Fuente: CNA
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | CVE-2026-77327 divulgada · CVSS 6.9 (CNA) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Divulgación | Evaluación SSVC | CISA-ADP · explotación PoC pública | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Fuente: NIST NVD | Registro visto por primera vez en NIST NVD | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
MapServer has a second-order SQL injection flaw in its MySQL JOIN handling, affecting versions before 8.6.5 when MySQL JOIN support is enabled. A remote attacker who can control a source feature attribute, such as data in an imported shapefile or DBF file, can inject SQL that changes the JOIN condition and exposes unrelated records from the MySQL or MariaDB table.
Descripción original del registro (GitHub_M)
MapServer is a system for developing web-based GIS applications. Prior to 8.6.5, MapServer's MySQL JOIN implementation in src/mapjoin.c copies the source layer attribute selected by JOIN ... FROM into joininfo->target and inserts it into the query built by msMySQLJoinNext() without parameterization or SQL escaping. When MySQL JOIN support is enabled, an attacker who can control that source feature attribute, including through imported shapefile or DBF data or another untrusted spatial source, can inject SQL operators or expressions that change the intended JOIN predicate. This can bypass the intended key comparison and expose unrelated records from the MySQL or MariaDB JOIN table through output templates, query responses, or downstream application logic. This issue is fixed in version 8.6.5.
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
MapServer |
Corregida | 8.6.5 | — | — |
8.6.5Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/MapServer/MapServer/security/advisories/GHSA-7624-4mwh-9cxrhttps://github.com/MapServer/MapServer/pull/7547https://github.com/MapServer/MapServer/pull/7567https://github.com/MapServer/MapServer/commit/b1aa22b1ea4ba4293c0fddea92e01ce0dc18a300https://github.com/MapServer/MapServer/commit/f4f95059e2610d431e0b46d75d713cd52b84f64chttps://github.com/MapServer/MapServer/releases/tag/rel-8-6-5Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
