|Number of vulnerabilities||1|
|CVE ID|| CVE-2018-3814
|CWE ID|| CWE-434
|Public exploit||Not available|
|Vulnerable software versions||
Craft CMS 2.6.3000
|Vendor URL||Pixel & Tonic, Inc.|
The vulnerability allows a remote attacker to execute arbitrary PHP code on the target system.
The vulnerability exists due to insufficient validation of user-supplied data when uploading files via "Assets->Upload files" screen. A remote authenticated attacker can upload .jpg file with PHP code inside, then use the "Replace it" option to rename the file and add .php extension to it. As a result the uploaded PHP code will be executed on the server.
Install update from vendor's repository.