SecurityContext

CVE-2018-20129: DedeCMS - Unrestricted File Upload

  • Cve: CVE-2018-20129
  • Name: DedeCMS - Unrestricted File Upload
  • Description: An issue was discovered in DedeCMS V5.7 SP2. uploads/include/dialog/select_images_post.php allows remote attackers to upload and execute arbitrary PHP code via a double extension and a modified ".php" substring, in conjunction with the image/jpeg content type, as demonstrated by the filename=1.jpg.p*hp value.
  • Impact: Attackers can upload and execute arbitrary PHP code, leading to remote code execution and full server compromise.
  • Remediation: Update to the latest version or apply security patches that restrict double extensions and validate 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:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.08226
  • Epss percentile: 0.95026
  • Assignee: [email protected]
  • Published at: 2018-12-13T08:29:00Z
  • Age in days: 2903
  • Modified at: 2026-06-17T01:52:19Z
  • Public exploits total: 1
  • References total: 1
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-20129
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-94Improper Control of Generation of Code

Public exploits

UrlSourceAdded date
http://www.iwantacve.cn/index.php/archives/88/nvd2018-12-13

References

UrlSourceTags
http://www.iwantacve.cn/index.php/archives/88/nvdExploit, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
dedecms:dedecms= 5.7 sp2nonvd/v1/products/dedecms/dedecms

Index

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

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2018-12-13
  • Remote: yes
  • Authentication required: yes
  • Exposed hosts: 417
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports