GitHub Advisoryadvisory · Packagist

GHSA-r342-vjc4-wrmj Craft CMS PHP Code Injection Vulnerability

HIGH Published 2022-05-13 Modified 2024-04-25 Official page ↗
Aliases
CVE-2018-3814
Ecosystem
Packagist
Packages
craftcms/cms
Severity
High
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-434
Reviewed
2024-04-25

Affected packages

• Packagist craftcms/cms: <= 2.6.3000 (no fix yet)

Description

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.

Related

Alias · CVE (1)

  • 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… vulnerability

Weakness · CWE (1)

  • CWE-434 Unrestricted Upload of File with Dangerous Type weakness

References