llamaCVEVulnerability Intelligence
/
geoserver

CVE-2023-25157

Unfiltered SQL Injection Vulnerabilities in Geoserver

Crítica · EPSS ≥ 10 %Parche disponibleSQL injection
Descargar PNG JSON
CVSS 3.1
9.8
Crítica
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Fuente: CNA
ExplotaciónSin evidenciaSSVC: none · no figura en CISA KEV
Exploits públicos112 fuentes
Parche2 versiones2.21.4 · 2.22.2
Exposición1.366 dDesde la divulgación, 21 feb 2023, 4:00 p. m.
EPSS ≥ 10 %16 nov 2026Fecha en que la probabilidad de explotación superó el umbral
Decisión SSVCAtender
Priorizar en el próximo ciclo de cambios
Sin explotación conocida, automatizable e impacto técnico total. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC +1
Explotación
Umbral EPSS
Remediación
Monitoreo
Detectada
21 feb 23
10 mar 25
16 nov 26
17 nov 26
19 nov 26
21 feb 23
29 ene 24
5 ene 25
12 dic 25
19 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2023-25157 divulgada · CVSS 9.8 (CNA)
Divulgación Evaluación SSVC CISA-ADP · explotación ninguna
Divulgación Modificada Última actualización del registro
Explotación Umbral EPSS La probabilidad de explotación supera el 10 %
Monitoreo Detectada Ingresó al índice
Resumen

GeoServer is an open source software server written in Java that allows users to share and edit geospatial data. GeoServer includes support for the OGC Filter expression language and the OGC Common Query Language (CQL) as part of the Web Feature Service (WFS) and Web Map Service (WMS) protocols. CQL is also supported through the Web Coverage Service (WCS) protocol for ImageMosaic coverages. Users are advised to upgrade to either version 2.21.4, or version 2.22.2 to resolve this issue. Users unable to upgrade should disable the PostGIS Datastore *encode functions* setting to mitigate ``strEndsWith``, ``strStartsWith`` and ``PropertyIsLike `` misuse and enable the PostGIS DataStore *preparedStatements* setting to mitigate the ``FeatureId`` misuse.

Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:H
AltoBajoNinguno
IntegridadI:H
AltoBajoNinguno
DisponibilidadA:H
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida
geoserver · org.geoserver.community:gs-jdbcconfig< 2.21.4
geoserver · org.geoserver.community:gs-jdbcconfig≥ 2.22.0 < 2.22.2
2.21.4
2.22.0
2.22.2
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
geoserver
Corregida 2.21.4, 2.22.2 — —
Versiones corregidas2.21.42.22.2
Explotación

Arsenal público

Exploit-DB
—
0
Metasploit
—
0
Nuclei
http/cves/2023/CVE-2023-25157.yaml
1
PoC en GitHub
0x2458bughunt/CVE-2023-25157 · 7imbitz/CVE-2023-25157-checker · Giangdurian/CVE-2023-25157-GeoServer-SQLi-Lab · Rubikcuv5/CVE-2023-25157 · charis3306/CVE-2023-25157 · custiya/geoserver-CVE-2023-25157 …
10
Ver los 10 repositorios de GitHub
0x2458bughunt/CVE-2023-25157
7imbitz/CVE-2023-25157-checker
Giangdurian/CVE-2023-25157-GeoServer-SQLi-Lab
Rubikcuv5/CVE-2023-25157
charis3306/CVE-2023-25157
custiya/geoserver-CVE-2023-25157
dr-cable-tv/Geoserver-CVE-2023-25157
ivanesk315/CVE-2023-25157
murataydemir/CVE-2023-25157-and-CVE-2023-25158
win3zz/CVE-2023-25157

Los repositorios públicos incluyen exploits, escáneres, laboratorios y reglas de detección. No ejecute código de terceros sin revisarlo en un entorno aislado.

Referencias
Fabricantehttps://github.com/geoserver/geoserver/security/advisories/GHSA-7g5f-wrx8-5ccf
Exploithttps://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2023/CVE-2023-25157.yaml
Exploithttps://github.com/0x2458bughunt/CVE-2023-25157
Exploithttps://github.com/7imbitz/CVE-2023-25157-checker
Exploithttps://github.com/Giangdurian/CVE-2023-25157-GeoServer-SQLi-Lab
Exploithttps://github.com/Rubikcuv5/CVE-2023-25157
Exploithttps://github.com/charis3306/CVE-2023-25157
Exploithttps://github.com/custiya/geoserver-CVE-2023-25157
Exploithttps://github.com/dr-cable-tv/Geoserver-CVE-2023-25157
Exploithttps://github.com/ivanesk315/CVE-2023-25157
Exploithttps://github.com/murataydemir/CVE-2023-25157-and-CVE-2023-25158
Exploithttps://github.com/win3zz/CVE-2023-25157
Ver 1 referencias más
Otrahttps://github.com/geoserver/geoserver/commit/145a8af798590288d270b240235e89c8f0b62e1d

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