PT-2024-22354 · Directus · Directus

Soulseekah

·

Published

2024-03-12

·

Updated

2025-01-03

·

CVE-2024-28239

CVSS v3.1

5.4

Medium

VectorAV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions Directus versions prior to 10.10.0
Description The authentication API has a redirect parameter that can be exploited as an open redirect vulnerability when a user tries to log in via the API URL. After a successful login via the Auth API GET request to /auth/login/google?redirect, the user can be redirected to a malicious site. Although credentials are not passed to the attacker site, the user can be phished into clicking a legitimate Directus site and be taken to a malicious site made to look like an error message, potentially leading to password phishing. Users who log in via OAuth2 into Directus may be at risk.
Recommendations For versions prior to 10.10.0, upgrade to version 10.10.0 to address the issue. As a temporary workaround, consider restricting access to the /auth/login/google?redirect API endpoint to minimize the risk of exploitation. Avoid using the redirect parameter in the affected API endpoint until the issue is resolved.

Exploit

Fix

Open Redirect

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2024-28239
GHSA-FR3W-2P22-6W7P

Affected Products

Directus