Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Rangerstudio | Directus | < 9.23.0 |
Related Weaknesses (CWE)
References
- https://github.com/directus/directus/issues/17119Issue TrackingMailing ListThird Party Advisory
- https://github.com/directus/directus/pull/17120Patch
- https://github.com/directus/directus/security/advisories/GHSA-4hmq-ggrm-qfc6Issue TrackingVendor Advisory
- https://github.com/directus/directus/issues/17119Issue TrackingMailing ListThird Party Advisory
- https://github.com/directus/directus/pull/17120Patch
- https://github.com/directus/directus/security/advisories/GHSA-4hmq-ggrm-qfc6Issue TrackingVendor Advisory
FAQ
What is CVE-2023-27474?
CVE-2023-27474 is a vulnerability with a CVSS score of 8.0 (HIGH). 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 para...
How severe is CVE-2023-27474?
CVE-2023-27474 has been rated HIGH with a CVSS base score of 8.0/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2023-27474?
Check the references section above for vendor advisories and patch information. Affected products include: Rangerstudio Directus.