Advisory

GHSA-4r8q-gv9j-3xx6

Also known as: CVE-2021-32645

Summary

Open Redirect

Details

Impact
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)

Patches
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.

Workarounds
There is a simple way to work around the security issue

  • Set the force_https to every tenant to false

References
https://nvd.nist.gov/vuln/detail/CVE-2018-11784

For more information
If you have any questions or comments about this advisory:

  • Contact us in Discord: https://tenancy.dev/chat

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-03-18 17:55 UTC
Modified
2026-07-08 06:27 UTC

Affected packages and fixes

hyn/multi-tenant

Packagist · All systems

Affected

  • introduced 5.6.0, fixed 5.7.2 (ecosystem)

Fixed versions

5.7.2

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences