CVE-2024-28239
MEDIUM 4.3CVSS 3.1URL Redirection to Untrusted Site in OAuth2/OpenID in directus
Directus is a real-time API and App dashboard for managing SQL database content. The authentication API has a redirect parameter that can be exploited as an open redirect vulnerability as the user tries to log in via the API URL. There's a redirect that is done after successful login via the Auth API GET request to directus/auth/login/google?redirect=http://malicious-fishing-site.com. While credentials don't seem to be 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 a an error message "Your password needs to be updated" to phish out the current password. Users who login via OAuth2 into Directus may be at risk. This issue has been addressed in version 10.10.0. Users are advised to upgrade. There are no known workarounds for this vulnerability.
- Published
- 12 Mar 2024
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-601
- Also known as
- GHSA-fr3w-2p22-6w7p
- Sources
- NVDJSONOSV GHSA-fr3w-2p22-6w7pJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | monospace | directuscpe:2.3:a:monospace:directus:*:*:*:*:*:node.js:*:* |
< 10.10.0 | 10.10.0 |
| OSV | npm | directus | < 10.10.0 | 10.10.0 |
References
- https://docs.directus.io/reference/authentication.html#login-using-sso-providers · Product, WEB
- https://github.com/directus/directus/commit/5477d7d61babd7ffc2f835d399bf79611b15b203 · Patch, WEB
- https://github.com/directus/directus/security/advisories/GHSA-fr3w-2p22-6w7p · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-28239 · ADVISORY
- https://github.com/directus/directus · PACKAGE
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 12 Mar 2024)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 12 Mar 2024)