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...
HighCVSS 8.8
EPSS 4.9%
- Published
- Updated
- Exploit status
- No public exploit known
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).
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| rangerstudio directus | >= 8.0.0, < 8.8.2 | 8.8.2 |
References
- packetstormsecurity.com exploit third-party-advisory vdb-entry
- 20210407 SEC Consult SA-20210407-0 :: Arbitrary File Upload and Bypassing .htaccess Rules in Monospace Directus Headless CMS exploit mailing-list third-party-advisory
- hub.docker.com third-party-advisory
- sec-consult.com exploit third-party-advisory
- sec-consult.com exploit third-party-advisory