CVE-2021-29641 File upload in n/a

High 8.8 Published Updated

Authenticated attackers can upload PHP files to execute arbitrary code on Directus installations using Apache and local storage.

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

What is CVE-2021-29641?

CVE-2021-29641 is a high-severity vulnerability in n/a, published on 7 Apr 2021. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Directus 8 before 8.8.2 allows remote authenticated users to execute arbitrary code because file-upload permissions include the ability to upload a .php file to the main upload directory and/or upload a .php file and a .htaccess file to a subdirectory. Exploitation succeeds only for certain installations with the Apache HTTP Server and the local-storage driver (e.g., when the product was obtained from hub.docker.com).

Weakness: CWE-434

Which versions are affected by CVE-2021-29641?

It affects 1 product.

Products include Rangerstudio Directus.

How do I fix CVE-2021-29641?

No fix has been published for CVE-2021-29641 yet. Limit exposure of the affected software until one is available.

Is CVE-2021-29641 being exploited?

There is no known exploitation of CVE-2021-29641 in the wild and no public exploit code.

Sources

Also known as GHSA-cfr5-vjc2-p7gj.

Is CVE-2021-29641 in your software?

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

Check your SBOMs for free