CVE-2023-40035 json
Craft CMS vulnerable to Remote Code Execution via validatePath bypass
published 3y ago modified 2mo ago also GHSA-44wr-rmwq-3phw , EUVD-2023-2202
- cvss
- 7.2
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.3%
- EPSS 2.3% chance of exploitation in 30 days, percentile 83%
- public exploits
- 0
- none known
Summary
Craft is a CMS for creating custom digital experiences on the web and beyond. Bypassing the validatePath function can lead to potential remote code execution. This vulnerability can lead to malicious control of vulnerable systems and data exfiltrations. Although the vulnerability is exploitable only in the authenticated users, configuration with ALLOW_ADMIN_CHANGES=true, there is still a potential security threat (Remote Code Execution). This issue has been patched in version 4.4.15 and version 3.8.15.
Patch / fix
- packagist craftcms/cms 3.8.15, 4.4.15
- craftcms craft_cms 3.8.15, 4.4.15
Is CVE-2023-40035 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 2y ago
Exploit prediction
2.32% chance of exploitation in the next 30 days, higher than 83% of all scored CVEs (FIRST EPSS, 2026-11-15).
Exploits and checks
- github.com https://github.com/craftcms/cms/security/advisories/GHSA-44wr-rmwq-3phw referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | craftcms/cms | >=4.0.0-RC1, <4.4.15 >=3.0.0, <3.8.15 |
4.4.15 3.8.15 |
Affected products
- craftcms cms
Classification
- Weakness
-
- CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component
References
-
github.com
/craftcms/cms/commit/0bd33861abdc60c93209cff03eeee54504d3d3b5
web, patch
-
github.com
/craftcms/cms/security/advisories/GHSA-44wr-rmwq-3phw
web, exploit, vendor-advisory
-
github.com
/craftcms/cms/releases/tag/3.8.15
web, release-notes
-
github.com
/craftcms/cms/releases/tag/4.4.15
web, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2023-40035
advisory
-
github.com
/craftcms/cms
package
Sources
- CVE List CVE-2023-40035
- GitHub Advisory GHSA-44wr-rmwq-3phw
- NVD CVE-2023-40035
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.