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


0.0
medium

Snyk CVSS

    Attack Complexity Low
    User Interaction Required

    Threat Intelligence

    EPSS 0.11% (43rd percentile)
Expand this section
NVD
6.1 medium

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 ID SNYK-PHP-HYNMULTITENANT-1297177
  • published 28 May 2021
  • disclosed 28 May 2021
  • credit Unknown

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.