Read the docs
TI-2024-38736 Aliases GHSA-25gq-jvx2-vg9x

Silverstripe X-Forwarded-Host request hostname injection

Priority LOW 38CWE-601Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
Spoofing
Confidentiality · integrity · availability
—
Fix status
Fixed

No CVSS vector from any source. Fix status from GitHub. Impact type from CWE-601.

Summary

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> ```

Why it matters now

Fix Fixed silverstripe/framework (Packagist): 3.1.13

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—silverstripe/framework (Packagist)3.1.0 to before 3.1.133.1.13Patch availableGHSA-25gq-jvx2-vg9x
  • silverstripe/framework (Packagist) Vendor— Affected 3.1.0 to before 3.1.13 Fixed in 3.1.13 Patch available GHSA-25gq-jvx2-vg9x

Remediation

  • Fix · GHSA-25gq-jvx2-vg9x silverstripe/framework (Packagist) Fixed in 3.1.13 Advisory →

Timeline

  1. 2026-10-03 Threatist record created from GHSA-25gq-jvx2-vg9x

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences