CVE-2024-39701 MEDIUM

CVE-2024-39701: Directus Incorrectly handles _in` filter

Vendor Directus
Product directus
Weakness CWE-284
Published July 8, 2024
Last update August 2, 2024

CVSS base score

6.3/10
Attack vector Network
Attack complexity High
Privileges required Low
User interaction None
Confidentiality High
Integrity None

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N

What the vulnerability does

01Description

Directus is a real-time API and App dashboard for managing SQL database content. Directus >=9.23.0, <=v10.5.3 improperly handles _in, _nin operators. It evaluates empty arrays as valid so expressions like {"role": {"_in": $CURRENT_USER.some_field}} would evaluate to true allowing the request to pass. This results in Broken Access Control because the rule fails to do what it was intended to do: Pass rule if **field** matches any of the **values**. This vulnerability is fixed in 10.6.0.

Key dates

02Disclosure timeline

July 8, 2024 CVE published
August 2, 2024 Record updated

Related vulnerabilities

04Related CVE