SecurityContext

CVE-2020-6754: dotCMS - Unrestricted File Upload

  • Cve: CVE-2020-6754
  • Name: dotCMS - Unrestricted File Upload
  • Description: dotCMS before 5.2.4 is vulnerable to directory traversal, leading to incorrect access control. It allows an attacker to read or execute files under $TOMCAT_HOME/webapps/ROOT/assets (which should be a protected directory). Additionally, attackers can upload temporary files (e.g., .jsp files) into /webapps/ROOT/assets/tmp_upload, which can lead to remote command execution (with the permissions of the user running the dotCMS application).
  • Impact: Attackers can read sensitive files or execute malicious files, potentially leading to remote command execution and full system compromise.
  • Remediation: Update to version 5.2.4 or later to fix the directory traversal and upload vulnerabilities.
  • Vulnerability type: unrestricted_file_upload
  • Vulnerability impact: file_system_read, file_system_write, remote_code_execution
  • Requirement type: user_interaction
  • Requirements: Attacker needs to upload files or access files directly
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.948
  • Epss percentile: 0.99861
  • Assignee: [email protected]
  • Published at: 2020-02-05T17:15:10Z
  • Age in days: 2484
  • Modified at: 2026-06-17T03:23:46Z
  • Patch available: yes
  • Public exploits total: 2
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2020-6754
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd

Cwe

IdName
CWE-22Improper Limitation of a Pathname to a Restricted Directory

Hackerone

  • Reports: 1
  • Rank: 5211

Public exploits

UrlSourceAdded date
https://dotcms.com/security/SI-54nvd2020-02-05
https://github.com/dotCMS/core/issues/17796nvd2020-02-05

References

UrlSourceTags
https://dotcms.com/security/SI-54nvdExploit, Mitigation, Vendor Advisory
https://github.com/dotCMS/core/issues/17796nvdExploit, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
dotcms:dotcms< 5.2.4nonvd/v1/products/dotcms/dotcms

Projects

RepositoryLink kindsIndexedUrl
dotCMS/coreissuesyes/v1/repositories/dotCMS/core

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 2
  • Public exploit first date: 2020-02-05
  • Remote: yes
  • Hackerone reports: 1
  • Exposed hosts: 637
  • 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