Open Redirect Affecting hyn/multi-tenant package, versions >=5.6.0, <5.7.2


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.02% (59th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Open Redirect vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-HYNMULTITENANT-1297177
  • published28 May 2021
  • disclosed28 May 2021
  • creditUnknown

Introduced: 28 May 2021

CVE-2021-32645  (opens in a new tab)
CWE-601  (opens in a new tab)

How to fix?

Upgrade hyn/multi-tenant to version 5.7.2 or higher.

Overview

hyn/multi-tenant is a Run multiple websites using the same laravel installation while keeping tenant specific data separated for fully independant multi-domain setups.

Affected versions of this package are vulnerable to Open Redirect. 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.

CVSS Base Scores

version 3.1