Arbitrary file upload in Dedecms

CVE-2019-8362

DedeCMS through V5.7SP2 allows arbitrary file upload in dede/album_edit.php or dede/album_add.php, as demonstrated by a dede/album_edit.php?dopost=save&formzip=1 request with a ZIP archive that contains a file such as "1.jpg.php" (because input validation only checks that .jpg, .png, or .gif is present as a substring, and does not otherwise check the file name or content).

Vulnerability class: Unrestricted File Upload

EPSS: 0.015 (70.9th percentile) — read the EPSS interpretation.

CVSS v3 metric

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

Affected products

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

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2019-8362?
CVE-2019-8362 is a high-severity vulnerability in Dedecms, classified under Unrestricted Upload of File with Dangerous Type. CVSS score: 7.5/10. Published 2019-02-16.
How severe is CVE-2019-8362?
High severity. CVSS v3 base score is 7.5 out of 10.
Is CVE-2019-8362 known to be exploited?
2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.