Arbitrary file upload in Dedecms

CVE-2018-10375

A file uploading vulnerability exists in /include/helpers/upload.helper.php in DedeCMS V5.7 SP2, which can be utilized by attackers to upload and execute arbitrary PHP code via the /dede/archives_do.php?dopost=uploadLitpic litpic parameter when "Content-Type: image/jpeg" is sent, but the filename ends in .php and contains PHP code.

Vulnerability class: Unrestricted File Upload

EPSS: 0.012 (65.1th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

  • Dedecms — versions 5.7
  • N/a — versions n/a

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2018-10375?
CVE-2018-10375 is a critical-severity vulnerability in Dedecms, classified under Unrestricted Upload of File with Dangerous Type. CVSS score: 9.8/10. Published 2018-04-25.
How severe is CVE-2018-10375?
Critical severity. CVSS v3 base score is 9.8 out of 10.