CVE-2021-29641

Published on: 04/07/2021 12:00:00 AM UTC

Last Modified on: 04/13/2021 12:03:00 PM UTC

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Certain versions of Directus from Rangerstudio contain the following vulnerability:

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).

  • CVE-2021-29641 has been assigned by [email protected] to track the vulnerability - currently rated as HIGH severity.

CVSS3 Score: 8.8 - HIGH

Attack
Vector
Attack
Complexity
Privileges
Required
User
Interaction
NETWORK LOW LOW NONE
Scope Confidentiality
Impact
Integrity
Impact
Availability
Impact
UNCHANGED HIGH HIGH HIGH

CVSS2 Score: 6.5 - MEDIUM

Access
Vector
Access
Complexity
Authentication
NETWORK LOW SINGLE
Confidentiality
Impact
Integrity
Impact
Availability
Impact
PARTIAL PARTIAL PARTIAL

CVE References

Description Tags Link
Monospace Directus Headless CMS File Upload / Rule Bypass ≈ Packet Storm packetstormsecurity.com
text/html
URL Logo MISC packetstormsecurity.com/files/162118/Monospace-Directus-Headless-CMS-File-Upload-Rule-Bypass.html
Full Disclosure: SEC Consult SA-20210407-0 :: Arbitrary File Upload and Bypassing .htaccess Rules in Monospace Directus Headless CMS seclists.org
text/html
URL Logo FULLDISC 20210407 SEC Consult SA-20210407-0 :: Arbitrary File Upload and Bypassing .htaccess Rules in Monospace Directus Headless CMS
Docker Hub hub.docker.com
text/html
URL Logo MISC hub.docker.com/layers/directus/directus/v8.8.2-apache/images/sha256-d9898b6442b0150c3c377b50e706757f35d2d563bd82ddaf97f3ae4ba450a6e6?context=explore
Upload beliebiger Dateien und Umgehung von .htaccess Regeln in Monospace Directus Headless CMS sec-consult.com
text/html
URL Logo MISC sec-consult.com/de/vulnerability-lab/advisory/arbitrary-file-upload-and-bypassing-htaccess-rules-in-monospace-directus-headless-cms/
Arbitrary File Upload and Bypassing .htaccess Rules in Monospace Directus Headless CMS sec-consult.com
text/html
URL Logo MISC sec-consult.com/vulnerability-lab/advisory/arbitrary-file-upload-and-bypassing-htaccess-rules-in-monospace-directus-headless-cms/

Known Affected Configurations (CPE V2.3)

Type Vendor Product Version Update Edition Language
ApplicationRangerstudioDirectusAllAllAllAll
  • cpe:2.3:a:rangerstudio:directus:*:*:*:*:*:*:*:*:

Social Mentions

Source Title Posted (UTC)
Twitter Icon @CVEreport CVE-2021-29641 : Directus 8 before 8.8.2 allows remote authenticated users to execute arbitrary code because file-u… twitter.com/i/web/status/1… 2021-04-07 22:08:25