VDB
Sign up
MEDIUM5.4

GHSA-6vx9-9r2g-8373

Mautic has an Open Redirect vulnerability on user unlock path.

Quick fix

GHSA-6vx9-9r2g-8373 — mautic/core: upgrade to the fixed version with the command below.

composer require mautic/core:^4.4.16

Details

### Summary This advisory addresses an Open Redirection vulnerability in Mautic's user unlocking endpoint. This vulnerability could be exploited by an attacker to redirect legitimate users to malicious websites, potentially leading to phishing attacks or the delivery of exploit kits.

Open Redirection via `returnUrl` Parameter: An Open Redirection vulnerability exists in the `/s/action/unlock/user.user/0` endpoint. The `returnUrl` parameter, intended for post-action redirection, is not properly validated. This allows an attacker to craft a URL that, when clicked by a user, redirects them to an arbitrary external website controlled by the attacker.

### Mitigation Update Mautic to a version that properly validates or sanitizes the `returnUrl` parameter to ensure that redirects only occur to trusted, internal URLs or explicitly whitelisted domains.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/mautic/core
Introduced in: 1.0.0Fixed in: 4.4.16
Fixcomposer require mautic/core:^4.4.16
Packagist/mautic/core
Introduced in: 5.0.0-alphaFixed in: 5.2.6
Fixcomposer require mautic/core:^5.2.6
Packagist/mautic/core
Introduced in: 6.0.0-alphaFixed in: 6.0.2
Fixcomposer require mautic/core:^6.0.2

References