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.

Severity (CVSS 3.0)4.3Medium
Exploit odds (30 days)1.0%top 36.4% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Packagisthyn/multi-tenant5.7.2GHSA-4r8q-gv9j-3xx6

Affected products (as reported)

VendorProductVersions
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