CVE-2021-29641: Malicious File Upload
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).
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2021-29641?
CVE-2021-29641 is considered a high severity vulnerability that allows remote code execution.
How do I fix CVE-2021-29641?
To fix CVE-2021-29641, update Directus to version 8.8.2 or later.
Who is affected by CVE-2021-29641?
CVE-2021-29641 affects installations of Directus versions prior to 8.8.2.
What type of attack does CVE-2021-29641 enable?
CVE-2021-29641 enables remote authenticated users to execute arbitrary code on the server.
What components are involved in the exploitation of CVE-2021-29641?
Exploitation of CVE-2021-29641 involves uploading malicious .php and .htaccess files to the server.