Arbitrary file upload in Craftcms Craft Cms

CVE-2018-3814

Craft CMS 2.6.3000 allows remote attackers to execute arbitrary PHP code by using the "Assets->Upload files" screen and then the "Replace it" option, because this allows a .jpg file to have embedded PHP code, and then be renamed to a .php extension.

Vulnerability class: Unrestricted File Upload

EPSS: 0.019 (77.3th percentile) — read the EPSS interpretation.

CVSS v3 metric

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

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2018-3814?
CVE-2018-3814 is a high-severity vulnerability in Craftcms Craft Cms, classified under Unrestricted Upload of File with Dangerous Type. CVSS score: 8.8/10. Published 2018-01-01.
How severe is CVE-2018-3814?
High severity. CVSS v3 base score is 8.8 out of 10.
Is CVE-2018-3814 known to be exploited?
3 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.