CVE-2023-27481
Directus vulnerable to extraction of password hashes through export querying
Auswirkung
### Impact Users with read access to the `password` field in `directus_users` can extract the argon2 password hashes by brute forcing the export functionality combined with a `_starts_with` filter. This allows the user to enumerate the password hashes. ### Patches The problem has been patched by preventing any hashed/concealed field to be filtered against with the `_starts_with` or other string operator. ### Workarounds Ensuring that no user has `read` access to the `password` field in `directus_users` is sufficient to prevent this vulnerability. ### For more information If you have any questions or comments about this advisory: * Open a Discussion in [directus/directus](https://github.com/directus/directus/discussions/new) * Email us at [security@directus.io](mailto:security@directus.io)
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, mit einem Administratorkonto, ohne Zutun eines Nutzers. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden, hohes Risiko, dass Daten oder Systeme verändert werden.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| npm | directus | < 9.16.0 | 9.16.0 |
Betroffene Produkte · Monospace
| Produkt | Betroffene Versionen |
|---|---|
| Directus | vor 9.16.0 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://github.com/directus/directus/pull/14829
- https://github.com/directus/directus/pull/15010
- https://github.com/directus/directus/security/advisories/GHSA-m5q3-8wgf-x8xf
- https://github.com/advisories/GHSA-m5q3-8wgf-x8xf
- https://nvd.nist.gov/vuln/detail/CVE-2023-27481