NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Composer (PHP)

CVE-2024-52600: Statamic CMS has a Path Traversal in Asset Upload

mediumCVSS 3.1 5.3GHSA-p7f6-8mcm-fwv3

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.

Published Nov 19, 2024

Affected packages

statamic/cms

Ecosystem
Composer (PHP)
Affected
<= 5.16.0
Fixed in
5.17.0
Check
composer show statamic/cms

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

Credited to SamSchroderBSG.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Composer (PHP) vulnerabilities

All Composer (PHP) entries