CVE-2021-32645
Description
Tenancy multi-tenant is an open source multi-domain controller for the Laravel web framework. 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. As a work around users can set the `force_https` to every tenant to `false`, however this may degrade connection security.
Weakness
- CWE-601: URL Redirection to Untrusted Site
Timeline
- 2021-05-27Published by the CNA16:50 UTC
- 2022-03-18GitHub advisory published (GHSA-4r8q-gv9j-3xx6)295 days after publication
Exploit and advisory records
GitHub advisory GHSA-4r8q-gv9j-3xx6, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Packagist hyn/multi-tenant | from 5.6.0 before 5.7.2 | 5.7.2 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| tenancy multi-tenant | from 5.6.0 before 5.7.2fixed in 5.7.2 | 5.7.2 |
References
- https://github.com/tenancy/multi-tenant/commit/9c837a21bccce9bcaeb90033ef200d84f0d9e164
- https://github.com/tenancy/multi-tenant/security/advisories/GHSA-4r8q-gv9j-3xx6
- https://packagist.org/packages/hyn/multi-tenant
- https://webmasters.googleblog.com/2009/01/open-redirect-urls-is-your-site-being.html
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2021-32645'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2021-32645'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2021-32645'curl 'https://api.contrastcyber.com/cve_products/CVE-2021-32645'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).