Unrestricted Upload of File with Dangerous Type Affecting craftcms/cms package, versions >=0.0.0


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.57% (78th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Unrestricted Upload of File with Dangerous Type vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-CRAFTCMSCMS-6674134
  • published26 Apr 2024
  • disclosed13 May 2022
  • creditUnknown

Introduced: 13 May 2022

CVE-2018-3814  (opens in a new tab)
CWE-434  (opens in a new tab)

How to fix?

There is no fixed version for craftcms/cms.

Overview

craftcms/cms is a content management system.

Affected versions of this package are vulnerable to Unrestricted Upload of File with Dangerous Type due to the improper handling of file uploads and extensions in the Assets->Upload files screen followed by the Replace it option. An attacker can execute arbitrary code by uploading a .jpg file containing embedded PHP code, which can then be renamed to a .php extension.

References

CVSS Scores

version 3.1