CVE-2024-52600
MEDIUM5.3EPSS 0.39%Statamic CMS has a Path Traversal in Asset Upload
Published: 11/19/2024Modified: 11/19/2024
Also known as:GHSA-p7f6-8mcm-fwv3
Description
Assets uploaded with appropriately crafted filenames may result in them being placed in a location different than what was configured. ### Impact - Affects front-end forms with `assets` fields. - Affects other places where assets can be uploaded, although users would need upload permissions anyway. - Files can be uploaded so they would be located on the server in a different location, and potentially override existing files. - Traversal _outside_ an asset container was not possible. ### Patches This has been fixed in 5.17.0.
Affected packages (1)
- Packagist/statamic/cmsfrom 0, < 5.17.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
References (6)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2024-52600
- PATCHhttps://github.com/statamic/cms
- WEBhttps://github.com/statamic/cms/commit/0c07c10009a2439c8ee56c8faefd1319dc6e388d
- WEBhttps://github.com/statamic/cms/commit/400875b20f40e1343699d536a432a6fc284346da
- WEBhttps://github.com/statamic/cms/commit/4cc2c9bd0f39a93b3fc7e9ef0f12792576fd380d
- WEBhttps://github.com/statamic/cms/security/advisories/GHSA-p7f6-8mcm-fwv3