Advisory

GHSA-p7f6-8mcm-fwv3

Also known as: CVE-2024-52600

Summary

Statamic CMS has a Path Traversal in Asset Upload

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-11-19 18:03 UTC
Modified
2024-11-19 21:02 UTC

Affected packages and fixes

statamic/cms

Packagist · All systems

Affected

  • introduced 0, fixed 5.17.0 (ecosystem)

Fixed versions

5.17.0

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences