Arbitrary file upload in Rangerstudio Directus
CVE-2021-29641
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).
Vulnerability class: Unrestricted File Upload
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.049 (91.7th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 92nd percentile — 91.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.049 · newest: 0.049 · change: 0.000
Affected products
Weakness classification (CWE)
References
- hub.docker.com/layers/directus/directus/v8.8.2-apache/images/sha256-d9898b6442b… (Third Party Advisory)
- seclists.org/fulldisclosure/2021/Apr/14 (mailing-list, Exploit, Mailing List, Third Party Advisory)
- sec-consult.com/de/vulnerability-lab/advisory/arbitrary-file-upload-and-bypassi… (Exploit, Third Party Advisory)
- sec-consult.com/vulnerability-lab/advisory/arbitrary-file-upload-and-bypassing-… (Exploit, Third Party Advisory)
- packetstormsecurity.com/files/162118/Monospace-Directus-Headless-CMS-File-Uploa… (Exploit, VDB Entry, Third Party Advisory)
Frequently asked questions
- What is CVE-2021-29641?
- CVE-2021-29641 is a high-severity vulnerability in Rangerstudio Directus, classified under Unrestricted Upload of File with Dangerous Type. CVSS score: 8.8/10. Published 2021-04-07.
- How severe is CVE-2021-29641?
- High severity. CVSS v3 base score is 8.8 out of 10.