SecurityContext

CVE-2019-13980: Directus 7 API - Unrestricted File Upload

  • Cve: CVE-2019-13980
  • Name: Directus 7 API - Unrestricted File Upload
  • Description: In Directus 7 API through 2.3.0, uploading of PHP files is blocked only when the Apache HTTP Server is used, leading to uploads/_/originals remote code execution with nginx.
  • Impact: Attackers can upload and execute arbitrary PHP files on the server, leading to full server compromise.
  • Remediation: Implement server-wide PHP upload restrictions and validate file types regardless of server type, or upgrade to a version with proper upload restrictions.
  • 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.0245
  • Epss percentile: 0.84788
  • Assignee: [email protected]
  • Published at: 2019-07-19T15:15:12Z
  • Age in days: 2685
  • Modified at: 2026-06-17T02:17:33Z
  • Public exploits total: 1
  • References total: 1
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2019-13980
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-434Unrestricted Upload of File with Dangerous Type

Public exploits

UrlSourceAdded date
https://github.com/directus/api/issues/979nvd2019-07-19

References

UrlSourceTags
https://github.com/directus/api/issues/979nvdExploit, Issue Tracking, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
rangerstudio:directus_7_api<= 2.3.0nonvd/v1/products/rangerstudio/directus_7_api

Projects

RepositoryLink kindsIndexedUrl
directus/apiissuesyes/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