HighGHSA-r342-vjc4-wrmjCVE-2018-3814
Craft CMS PHP Code Injection Vulnerability
Published 13 May 2022 · Updated 25 Apr 2024
Affected package
craftcms/cmsComposer
- Affected
- <=2.6.3000
- Fixed in
- No fix released
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.
Is GHSA-r342-vjc4-wrmj in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected craftcms/cms, and gives you the command that fixes it.
References
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.