GitHub Advisoryadvisory · Packagist

GHSA-p7f6-8mcm-fwv3 Statamic CMS has a Path Traversal in Asset Upload

MEDIUM Published 2024-11-19 Modified 2024-11-19 Official page ↗
Aliases
CVE-2024-52600
Ecosystem
Packagist
Packages
statamic/cms
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Weaknesses
CWE-22
Reviewed
2024-11-19

Affected packages

• Packagist statamic/cms: < 5.17.0 → fixed in 5.17.0

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.

Related

Alias · CVE (1)

  • CVE-2024-52600 Statmatic is a Laravel and Git powered content management system (CMS). vulnerability

Weakness · CWE (1)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness

References