directus
Affected
- introduced
9.0.0-alpha.4, fixed11.5.0(semver)
Fixed versions
11.5.0
Fix
- Fixed version
11.5.0npm install [email protected]
Advisory
Also known as: CVE-2025-30352
Directus search query parameter allows enumeration of non permitted fields
Summary
The search query parameter allows users with access to a collection to filter items based on fields they do not have permission to view. This allows the enumeration of unknown field contents.
Details
The searchable columns (numbers & strings) are not checked against permissions when injecting the where clauses for applying the search query. This leads to the possibility of enumerating those un-permitted fields.
PoC
search parameterImpact
This vulnerability is a very high impact, as for example Directus instances which allow public read access to the user avatar are vulnerable to have the email addresses, password hashes and potentially admin level access tokens extracted. The admin token and password hash extraction have a caveat, as string fields are only searched with a lower cased version of the search query.
Medium Basis: The source's own band: MODERATE
9.0.0-alpha.4, fixed 11.5.0 (semver)11.5.0
11.5.0npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0