Media

Silverstripe Hostname, IP and Protocol Spoofing through HTTP Headers

  • Publicada: 23.05.2024
  • Actualizado: 11.10.2026 10:22

In it's default configuration, SilverStripe trusts all originating IPs to include HTTP headers for Hostname, IP and Protocol. This enables reverse proxies to forward requests while still retaining the original request information. Trusted IPs can be limited via the SS_TRUSTED_PROXY_IPS constant. Even with this restriction in place, SilverStripe trusts a variety of HTTP headers due to different proxy notations (e.g. X-Forwarded-For vs. Client-IP). Unless a proxy explicitly unsets invalid HTTP headers from connecting clients, this can lead to spoofing requests being passed through trusted proxies.

The impact of spoofed headers can include Director::forceSSL() not being enforced, SS_HTTPRequest->getIP() returning a wrong IP (disabling any IP restrictions), and spoofed hostnames circumventing any hostname-specific restrictions enforced in SilverStripe Controllers.

Regardless on running a reverse proxy in your hosting infrastructure, please follow the instructions on Secure Coding: Request hostname forgery in order to opt-in to these protections. If your website is not behind a reverse proxy, you might already be protected if using Apache with mod_env enabled, and you have the following line in your .htaccess file: SetEnv BlockUntrustedIPs true.

Software afectado

Haz clic en una tecnología para ver todas sus vulnerabilidades.

PlataformaPaqueteVersiones vulnerablesCorregida en
Paquete de Composer silverstripe/framework < 3.1.17, >= 3.2.0, < 3.2.2, >= 3.3.0-beta1, < 3.3.0 3.1.17, 3.2.2, 3.3.0

Referencias

Puntuación CVSS 6.5/10
Vector CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Debilidad (CWE)
-
Plataforma
Composer
Paquete
silverstripe/framework
Publicada
23.05.2024
Actualizado
11.10.2026 10:22

Fuentes y licencias

OSV / GitHub Advisory Database - GHSA-87pf-7x99-5xc4 - CC BY 4.0

Historial de vulnerabilidades: silverstripe/framework

Todas las vulnerabilidades publicadas de este paquete (Paquete de Composer), de la más reciente a la más antigua. Muestra si es un fallo aislado o un paquete que hay que vigilar.

Todas (93) en el archivo
Entradas en total
93
Primera → última
11.2019 08.2026
Sin corrección
1
Explotada en ataques
0

Distribución por gravedad

  • Crítica 3
  • Alta 13
  • Media 69
  • Baja 8

Divulgaciones por año

  1. 2019: 5
  2. 2020: 2
  3. 2021: 0
  4. 2022: 23
  5. 2023: 3
  6. 2024: 53
  7. 2025: 6
  8. 2026: 1
Gravedad:
  1. Alta · 8.8 ghsa-265q-222x-52m6 >= 4.0.0-rc1, < 4.0.6, >= 4.1.0-rc1, < 4.1.4, >= 4.2.0-rc1, < 4.2.3 4.0.6, 4.1.4, 4.2.3
  2. Alta · 7.5 ghsa-cwgq-83w5-8jfq >= 4.0.0-rc1, < 4.0.5, >= 4.1.0-rc1, < 4.1.3, >= 4.2.0-rc1, < 4.2.2 4.0.5, 4.1.3, 4.2.2
  3. Alta · 8.8 ghsa-vcg6-8fxc-x5cq >= 3.6.5-rc1, < 3.6.6, >= 4.0.3-rc1, < 4.0.4, >= 4.1.0-rc1, < 4.1.1 3.6.6, 4.0.4, 4.1.1
  4. Alta · 7.5 ghsa-vgxh-x8jv-hmff >= 4.0.3-rc1, < 4.0.4, >= 4.1.0-rc1, < 4.1.1 4.0.4, 4.1.1
  5. Alta · 7.5 ghsa-m5q3-mvcr-gc5m >= 4.0.0-rc1, < 4.0.4, >= 4.1.0-rc1, < 4.1.1 4.0.4, 4.1.1
  6. Alta · 8.8 ghsa-xx4r-5265-48j6 >= 3.5.0-rc1, < 3.5.6, >= 3.6.0-rc1, < 3.6.3, >= 4.0.0-rc1, < 4.0.1 3.5.6, 3.6.3, 4.0.1
  7. Alta · 8.0 ghsa-mqjc-x563-c9q8 >= 3.5.0-rc1, < 3.5.6, >= 3.6.0-rc1, < 3.6.3, >= 4.0.0-rc1, < 4.0.1 3.5.6, 3.6.3, 4.0.1
  8. Alta ghsa-7m2v-x7rg-5hm5 >= 3.5.0-rc1, < 3.5.5, >= 3.6.0-rc1, < 3.6.2 3.5.5, 3.6.2
  9. Alta · 7.5 ghsa-4qx8-j9vh-2628 >= 3.5.0-rc1, < 3.5.6, >= 3.6.0-rc1, < 3.6.3 3.5.6, 3.6.3
  10. Crítica · 9.1 ghsa-8v6m-7f5v-hhx6 >= 3.1.18, < 3.1.19, >= 3.2.3, < 3.2.4, >= 3.3.1, < 3.3.2 3.1.19, 3.2.4, 3.3.2
  11. Silverstripe Hostname, IP and Protocol Spoofing through HTTP Headers esta entrada
    Media · 6.5 ghsa-87pf-7x99-5xc4 < 3.1.17, >= 3.2.0, < 3.2.2, >= 3.3.0-beta1, < 3.3.0 3.1.17, 3.2.2, 3.3.0
  12. Alta · 7.2 ghsa-25gq-jvx2-vg9x >= 3.1.0, < 3.1.13 3.1.13
  13. Alta · 8.8 CVE-2022-38148 >= 4.0.0, < 4.10.11, >= 4.11.0, < 4.11.14 4.10.11, 4.11.14
  14. Alta · 7.5 CVE-2020-6164 >= 4.0.0, < 4.4.7, >= 4.5.0, < 4.5.4 4.4.7, 4.5.4
  15. Alta · 7.5 CVE-2020-9280 >= 4.0.0, < 4.4.6 4.4.6
  16. Crítica · 9.8 CVE-2019-5715 >= 3.0.0, < 3.6.7, >= 4.0.0, < 4.0.7, >= 3.7.0, < 3.7.3, >= 4.1.0, < 4.1.5, >= 4.2.0, < 4.2.4, >= 4.3.0, < 4.3.1 3.6.7, 4.0.7, 3.7.3, 4.1.5, 4.2.4, 4.3.1
  17. Crítica · 9.8 CVE-2019-12204 >= 4.1.0, < 4.3.5 4.3.5

Identifica las vulnerabilidades de tu aplicación

Con la integración de DockRay y el inventario de software activado, DockRay compara las versiones notificadas de los componentes con las vulnerabilidades conocidas y avisa de las coincidencias confirmadas. La cobertura depende de la tecnología compatible y de los avisos disponibles.

Conectar tu aplicación
Newsletter DockRay

La seguridad de tus aplicaciones en tu correo

Vulnerabilidades importantes, recomendaciones concretas y consejos prácticos para tus aplicaciones. Elige tus tecnologías y sigue lo que importa para tu proyecto.

  • Un resumen diario de nuevas vulnerabilidades, también las críticas.
  • Avisos sobre actualizaciones importantes.
  • Consejos prácticos sobre seguridad y monitorización de aplicaciones.

Déjalo vacío para recibir avisos de todas las tecnologías.

Suscripción gratuita. Date de baja con un clic en cualquier correo.