GitHub Advisory Database
GHSA-r342-vjc4-wrmj
Craft CMS PHP Code Injection Vulnerability
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | craftcms/cms | All versions up to and including 2.6.3000 |