llamaCVEVulnerability Intelligence
/
Advisory · GitHub · Packagist · silverstripe/framework

GHSA-25GQ-JVX2-VG9X

Silverstripe X-Forwarded-Host request hostname injection

Parche disponible
Descargar PNG JSON
CVSS
—
high
Fuente: —
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versión3.1.13
Exposición910 dDesde la divulgación, 23 may 2024, 11:59 a. m.
Detección907 dDesde la divulgación hasta su ingreso al índice
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Modificada
Explotación
Remediación
Monitoreo
Detectada
23 may 24
28 nov 24
17 nov 26
20 nov 26
23 may 24
6 ene 25
22 ago 25
6 abr 26
20 nov 26
FechaFaseEventoDetalle
Divulgación Publicada GHSA-25GQ-JVX2-VG9X divulgada
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Resumen
Descripción del advisory
Texto original · GitHub · en inglés

A potential hostname injection vulnerability has been found which could allow attackers to alter url resolution.

If a request contains the X-Forwarded-Host HTTP header a website would then use its value in place of the actual HTTP hostname. In cases where caching is enabled, this could allow an attacker to potentially embed a remote url as the base_url for any site. This would then cause other visitors to the site to be redirected unknowingly.

This header is necessary for servers running behind a reverse proxy (such as nginx). Such servers are likely not vulnerable to this risk.

A fix has been merged into the default installer, although existing projects which do not run behind a reverse proxy should update their htaccess as below:

<IfModule mod_headers.c>
    # Remove X-Forwarded-Host header sent as a part of any request from the web
    RequestHeader unset X-Forwarded-Host
</IfModule>
Versiones

Rangos afectados

Afectada Corregida
silverstripe/framework≥ 3.1.0 < 3.1.13
3.1.0
3.1.13
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
Packagistsilverstripe/framework
Corregida 3.1.13 — —
Versiones corregidas3.1.13
Explotación

Arsenal público

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

Referencias
Otrahttps://github.com/silverstripe/silverstripe-framework/commit/75137dbab28c0efd28b07e50044a50c5af4e46aa
Otrahttps://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/SS-2015-013-1.yaml
Otrahttps://github.com/silverstripe/silverstripe-framework
Otrahttps://www.silverstripe.org/software/download/security-releases/ss-2015-013

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