CVE-2018-3814 Craft CMS PHP Code Injection Vulnerability
Remote attackers can execute arbitrary PHP code by uploading a malicious file disguised as an image and renaming it via the asset replacement feature.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2018-3814?
CVE-2018-3814 is a high-severity vulnerability in Craftcms Craft Cms, published on 1 Jan 2018. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Weakness: CWE-434
Which versions are affected by CVE-2018-3814?
2 open source packages ship an affected version, including craftcms/cms. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
craftcms/cms Packagist | All versions to 2.6.3000 | None |
craftcms/cms Packagist | All versions to 2.6.3000 | None |
Products include Craftcms Craft Cms.
How do I fix CVE-2018-3814?
No fix has been published for CVE-2018-3814 yet. Limit exposure of the affected software until one is available.
Is CVE-2018-3814 being exploited?
There is no known exploitation of CVE-2018-3814 in the wild and no public exploit code.
Other vulnerabilities in Craftcms Craft Cms
Sources
Also known as GHSA-r342-vjc4-wrmj.