CVE-2023-27474 HTML Injection in Password Reset email to custom Reset URL in directus
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
Description
Directus is a real-time API and App dashboard for managing SQL database content. Instances relying on an allow-listed reset URL are vulnerable to an HTML injection attack through the use of query parameters in the reset URL. An attacker could exploit this to email users urls to the servers domain but which may contain malicious code. The problem has been resolved and released under version 9.23.0. People relying on a custom password reset URL should upgrade to 9.23.0 or later, or remove the custom reset url from the configured allow list. Users are advised to upgrade. Users unable to upgrade may disable the custom reset URL allow list as a workaround.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm directus(npm) | < 9.23.0 | 9.23.0 | Fixed |
| rangerstudio directus | < 9.23.0 | 9.23.0 | Fixed |
| directus | = < 9.23.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm directus(npm) | < 9.23.0 | 9.23.0 |
| directus | = < 9.23.0 | No fix listed |
| rangerstudio directus | < 9.23.0 | 9.23.0 |
References
- https://github.com/directus/directus/security/advisories/GHSA-4hmq-ggrm-qfc6 issue-tracking vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/directus/directus/issues/17119 issue-tracking mailing-list third-party-advisory
- https://github.com/directus/directus/pull/17120 patch
- github.com
- github.com product