CVE-2024-6534 Directus 10.13.0 - Insecure object reference via PATH presets

Medium 4.3 Published Updated

Authenticated attackers can modify presets to assign them to other users due to missing authorization checks in PATCH requests, potentially leading to account takeover.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-6534?

CVE-2024-6534 is a medium-severity missing authorization vulnerability in Monospace Directus, published on 15 Aug 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Directus v10.13.0 allows an authenticated external attacker to modify presets created by the same user to assign them to another user. This is possible because the application only validates the user parameter in the 'POST /presets' request but not in the PATCH request. When chained with CVE-2024-6533, it could result in account takeover.

Weakness: CWE-639

Which versions are affected by CVE-2024-6534?

2 open source packages ship an affected version, including directus. It affects 1 product.

PackageAffectedFixed in
directus npmAll versions10.13.2
directus npmAll versions10.13.2

Products include Monospace Directus.

How do I fix CVE-2024-6534?

Upgrade directus to 10.13.2 or later.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2024-6534 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-6534 exists.

All Monospace Directus vulnerabilities

Sources

Also known as GHSA-3fff-gqw3-vj86.

Is CVE-2024-6534 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free