Vulnerability · Published May 27, 2021 · Assigned by GitHub_M
CVE-2021-32645Open Redirect in tenancy
Medium 4.3
In plain English
A medium-severity open redirect in multi-tenant from tenancy. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 64% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | hyn/multi-tenant | 5.7.2 | GHSA-4r8q-gv9j-3xx6 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| tenancy | multi-tenant | >=5.6.0, < 5.7.2 |
Weakness: CWE-601 · Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
References
- https://github.com/tenancy/multi-tenant/security/advisories/GHSA-4r8q-gv9j-3xx6 x_refsource_CONFIRM
- https://github.com/tenancy/multi-tenant/commit/9c837a21bccce9bcaeb90033ef200d84f0d9e164 x_refsource_MISC
- https://packagist.org/packages/hyn/multi-tenant x_refsource_MISC
- https://webmasters.googleblog.com/2009/01/open-redirect-urls-is-your-site-being.html x_refsource_MISC