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.

Severity
MEDIUM
CVSS v3
4.3
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N · source cna
Exploit chance (EPSS)
1.020%
chance of exploitation in the next 30 days
higher than 64% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0

Weakness

Timeline

  1. 2021-05-27Published by the CNA16:50 UTC
  2. 2022-03-18GitHub advisory published (GHSA-4r8q-gv9j-3xx6)295 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

GitHub advisory GHSA-4r8q-gv9j-3xx6, affected packages:

PackageVulnerable versionsFixed in
Packagist hyn/multi-tenantfrom 5.6.0 before 5.7.25.7.2

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
tenancy multi-tenantfrom 5.6.0 before 5.7.2fixed in 5.7.25.7.2

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources