Description (CNA)
Craft CMS from 4.0.0-RC1 contains an authenticated path traversal vulnerability in the assets/icon endpoint where the extension parameter is not validated before file existence checks. Attackers can bypass extension validation by passing traversal sequences that resolve to existing SVG files, allowing local file read access.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| craftcms / cms | affected 4.0.0-RC1 before 4.17.7; unaffected 4.17.7; affected 5.0.0-RC1 before 5.9.13; unaffected 5.9.13 |
CWE
CWE-22
References
- https://github.com/craftcms/cms/security/advisories/GHSA-c43v-4cr8-6mvp
- https://github.com/craftcms/cms/commit/30f5f1a8d6edf0f3a00be72c42c78d9dc7d72d5c
- https://www.vulncheck.com/advisories/craft-cms-authenticated-path-traversal-in-assets-icon-extension-parameter
ADP enrichment
No English description supplied.
No references supplied.