CVE-2023-27474
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in, but needs a user to act. High risk of data exposure, data tampering.
- Exploit odds
- 0.5% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.5% in the next 30 days (EPSS).
- Severity: 8.0 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.5% · EPSS, next 30 days
- Weakness
- CWE-79 · Cross-site scripting
- Record status
- Modified
Affected
- Rangerstudio Directus < 9.23.0
Attack profile CVSS 3.1 · 8.0
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- Required
- Scope
- Changed
- Confidentiality
- High
- Integrity
- High
- Availability
- None
Raw vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2023-27474.md and follow it. Check whether this project is affected by CVE-2023-27474. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://github.com/directus/directus/pull/17120
- https://github.com/directus/directus/security/advisories/GHSA-4hmq-ggrm-qfc6
- https://github.com/directus/directus/pull/17120
- https://github.com/directus/directus/security/advisories/GHSA-4hmq-ggrm-qfc6
References
- https://github.com/directus/directus/issues/17119
- https://github.com/directus/directus/pull/17120
- https://github.com/directus/directus/security/advisories/GHSA-4hmq-ggrm-qfc6
- https://github.com/directus/directus/issues/17119
- https://github.com/directus/directus/pull/17120
- https://github.com/directus/directus/security/advisories/GHSA-4hmq-ggrm-qfc6