llamaCVEVulnerability Intelligence
/
MapServer

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

Parche disponibleSQL injection
Descargar PNG JSON
CVSS 4.0
6.9
Media
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
ExplotaciónPoC públicaSSVC: PoC · no figura en CISA KEV
Exploits públicos0CISA-ADP reporta PoC; aún sin enlace público
Parche1 versión8.6.5
Exposición22 hDesde la divulgación, 20 nov 2026, 2:04 p. m.
Detección11 minDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir de cerca
Monitorear y programar la remediación
Existe PoC pública, automatizable e impacto técnico parcial. Hay versiones corregidas disponibles.
Medio riesgo, cero excusas.No es drama, es prevención. Hazme caso.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada +2
Explotación
Remediación
Monitoreo
Detectada +2
02:04 p. m.
12:26 p. m.
02:04 p. m.
07:39 p. m.
01:15 a. m.
06:50 a. m.
12:26 p. m.
FechaFaseEventoDetalle
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
Resumen
Resumen generado por IA · CC-BY 4.0 · 20 nov 2026

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.

Vector CVSS 4.0

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
Requisitos de ataqueAT:N
NingunoPresentes
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaPasivaActiva
Confid. (sistema)VC:N
AltoBajoNinguno
Integridad (sistema)VI:N
AltoBajoNinguno
Disponib. (sistema)VA:N
AltoBajoNinguno
Confid. (posterior)SC:L
AltoBajoNinguno
Integridad (posterior)SI:L
AltoBajoNinguno
Disponib. (posterior)SA:N
AltoBajoNinguno
Score de explotaciónQué tan fácil y probable es que la exploten
10.0/ 10Muy alto
Vector 10.0 (muy fácil) · sin evidencia de explotación.
Versiones

Rangos afectados

Afectada Corregida
MapServer< 8.6.5
8.6.5
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
MapServer
Corregida 8.6.5 — —
Versiones corregidas8.6.5
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Fabricantehttps://github.com/MapServer/MapServer/security/advisories/GHSA-7624-4mwh-9cxr
Otrahttps://github.com/MapServer/MapServer/pull/7547
Otrahttps://github.com/MapServer/MapServer/pull/7567
Otrahttps://github.com/MapServer/MapServer/commit/b1aa22b1ea4ba4293c0fddea92e01ce0dc18a300
Otrahttps://github.com/MapServer/MapServer/commit/f4f95059e2610d431e0b46d75d713cd52b84f64c
Otrahttps://github.com/MapServer/MapServer/releases/tag/rel-8-6-5

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.