{"id":"CVE-2021-29641","published":"2021-04-07T21:31:45Z","modified":"2024-08-03T22:11:06Z","title":"Directus 8 before 8.8.2 allows remote authenticated users to execute arbitrary code because file-upload permissions…","vendor":null,"product":null,"tier":"tail","description":{"text":"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).","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.04867,"percentile":0.92249,"provenance":"source"},"cwes":[],"references":[{"url":"https://hub.docker.com/layers/directus/directus/v8.8.2-apache/images/sha256-d9898b6442b0150c3c377b50e706757f35d2d563bd82ddaf97f3ae4ba450a6e6?context=explore","tags":["x_refsource_MISC"]},{"url":"http://seclists.org/fulldisclosure/2021/Apr/14","tags":["mailing-list","x_refsource_FULLDISC"]},{"url":"https://sec-consult.com/de/vulnerability-lab/advisory/arbitrary-file-upload-and-bypassing-htaccess-rules-in-monospace-directus-headless-cms/","tags":["x_refsource_MISC"]},{"url":"https://sec-consult.com/vulnerability-lab/advisory/arbitrary-file-upload-and-bypassing-htaccess-rules-in-monospace-directus-headless-cms/","tags":["x_refsource_MISC"]},{"url":"http://packetstormsecurity.com/files/162118/Monospace-Directus-Headless-CMS-File-Upload-Rule-Bypass.html","tags":["x_refsource_MISC"]}],"priority":{"score":23.4,"factors":[{"name":"EPSS percentile","points":18.45},{"name":"Public exploit code","points":5.0}]},"summary":{"text":"Directus 8 versions before 8.8.2 contain a flaw in file-upload permission handling that lets authenticated users upload PHP files, including a .htaccess file in a subdirectory, to the upload area. An attacker with remote, authenticated access to the application can achieve arbitrary code execution, but only on certain installations running the Apache HTTP Server with the local-storage driver, such as those obtained from hub.docker.com.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:08:14Z"},"euvd":{"id":"EUVD-2021-16117","exploited":false,"provenance":"source"},"exploitRefs":["http://packetstormsecurity.com/files/162118/Monospace-Directus-Headless-CMS-File-Upload-Rule-Bypass.html"]}