CVE-2024-28239 json
URL Redirection to Untrusted Site in OAuth2/OpenID in directus
published 2024-03-12 2 y ago modified 2026-09-10 1 mo ago also EUVD-2024-0923 , GHSA-fr3w-2p22-6w7p
- cvss
- 5.4
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 48%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.58% chance of exploitation in the next 30 days, higher than 48% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/directus/directus/security/advisories/GHSA-fr3w-2p22-6w7p referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
| GitHub | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
| NVD | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | directus | <10.10.0 |
10.10.0 |
Affected products
- directus directus
- monospace directus
Classification
- Weakness
-
- CWE-601 URL Redirection to Untrusted Site
References
-
github.com
/directus/directus/commit/5477d7d61babd7ffc2f835d399bf79611b15b203
web, patch
-
github.com
/directus/directus/security/advisories/GHSA-fr3w-2p22-6w7p
web, exploit, vendor-advisory
-
docs.directus.io
/reference/authentication.html#login-using-sso-providers
web, product
-
nvd.nist.gov
/vuln/detail/CVE-2024-28239
advisory
-
github.com
/directus/directus
package
Sources
- CVE List CVE-2024-28239
- GitHub Advisory GHSA-fr3w-2p22-6w7p
- NVD CVE-2024-28239
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.