CVE-2018-3814 json
Craft CMS PHP Code Injection Vulnerability
published 2018-01-01 8 y ago modified 2026-06-17 4 mo ago also GHSA-r342-vjc4-wrmj , EUVD-2022-5075
- cvss
- 8.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.9%
- EPSS 1.9% chance of exploitation in 30 days, percentile 79%
- public exploits
- 0
- none known
Summary
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.
Exploit prediction
1.88% chance of exploitation in the next 30 days, higher than 79% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/Snowty/myCVE/blob/master/CraftCMS-2.6.3000/README.md referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 8.8 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
| GitHub | 3.0 | 8.8 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | craftcms/cms | <=2.6.3000 |
no fix listed |
Classification
- Weakness
-
- CWE-434 Unrestricted Upload of File with Dangerous Type
References
-
github.com
/Snowty/myCVE/blob/master/CraftCMS-2.6.3000/README.md
web, exploit, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2018-3814
advisory
-
github.com
/craftcms/cms
package
-
web.archive.org
/web/20170612231205/http://0day5.com/archives/4122
web
Sources
- CVE List CVE-2018-3814
- GitHub Advisory GHSA-r342-vjc4-wrmj
- NVD CVE-2018-3814
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.