CVE-2021-21265: October CMS vulnerable to Potential Host Header Poisoning on misconfigured servers
(updated )
When running on servers that are configured to accept a wildcard as a hostname (i.e. the server routes any request, regardless of the HOST header to an October CMS instance) the potential exists for Host Header Poisoning attacks to succeed. See the following resources for more information on Host Header Poisoning:
- https://portswigger.net/web-security/host-header
- https://dzone.com/articles/what-is-a-host-header-attack
References
- github.com/advisories/GHSA-xhfx-hgmf-v6vp
- github.com/octobercms/library/commit/f29865ae3db7a03be7c49294cd93980ec457f10d
- github.com/octobercms/library/commit/f86fcbcd066d6f8b939e8fe897409d152b11c3c6
- github.com/octobercms/october/commit/555ab61f2313f45d7d5d138656420ead536c5d30
- github.com/octobercms/october/commit/f638d3f78cfe91d7f6658820f9d5e424306a3db0
- github.com/octobercms/october/security/advisories/GHSA-xhfx-hgmf-v6vp
- nvd.nist.gov/vuln/detail/CVE-2021-21265
- packagist.org/packages/october/backend
Code Behaviors & Features
Detect and mitigate CVE-2021-21265 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →