CVE-2019-13979: Directus 7 API - Unrestricted File Upload
- Cve: CVE-2019-13979
- Name: Directus 7 API - Unrestricted File Upload
- Description: In Directus 7 API before 2.2.1, uploading of PHP files is not blocked, leading to uploads/_/originals remote code execution.
- Impact: Attackers can execute arbitrary PHP code on the server, leading to full remote server compromise.
- Remediation: Update to version 2.2.1 or later to block PHP file uploads.
- Vulnerability type: unrestricted_file_upload
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.8
- Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Epss score: 0.02577
- Epss percentile: 0.85594
- Assignee: [email protected]
- Published at: 2019-07-19T15:15:12Z
- Age in days: 2685
- Modified at: 2026-06-17T02:17:33Z
- Patch available: yes
- Public exploits total: 1
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2019-13979
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-434 | Unrestricted Upload of File with Dangerous Type |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/directus/api/issues/979 | nvd | 2019-07-19 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/directus/api/issues/979 | nvd | Exploit, Issue Tracking, Third Party Advisory |
| https://github.com/directus/api/projects/42 | nvd | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| rangerstudio:directus_7_api | < 2.2.1 | no | nvd | /v1/products/rangerstudio/directus_7_api |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| directus/api | issues | yes | /v1/repositories/directus/api |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2019-07-19
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts