In some situations, it is possible to have open redirects where users can be redirected from your site to any other site using a specially crafted URL.
This is only the case for installations where the default Hostname Identification is used and the environment uses tenants that have force_https
set to true
(default: false
)
Version 5.7.2 contains the relevant patches to fix this bug. Stripping the URL from special characters to prevent specially crafted URL’s from being redirected to.
There is a simple way to work around the security issue
force_https
to every tenant to false
https://nvd.nist.gov/vuln/detail/CVE-2018-11784
If you have any questions or comments about this advisory:
github.com/tenancy/multi-tenant/commit/9c837a21bccce9bcaeb90033ef200d84f0d9e164
github.com/tenancy/multi-tenant/security/advisories/GHSA-4r8q-gv9j-3xx6
nvd.nist.gov/vuln/detail/CVE-2021-32645
packagist.org/packages/hyn/multi-tenant
webmasters.googleblog.com/2009/01/open-redirect-urls-is-your-site-being.html