Skip to content
Security advisoryCVE-2023-47129

Statamic CMS remote code execution via front-end form uploads

High8.3Published Modified Original advisory

As published by the sources

Affected packages

  • Affected>=4.0.0,<4.33.0 || <3.4.13
    Fixed in3.4.134.33.0

Derived from the fixed versions above

What to do

  1. Upgrade statamic/cms to the fixed version in your release line: 3.4.13, 4.33.0.

    composer update statamic/cms --with-dependencies

To see which version you have installed, run composer show vendor/package. Running composer audit lists the known advisories that match your installed versions.

Quoted from the original advisory

Details

Impact

On front-end forms with an asset upload field, PHP files crafted to look like images may be uploaded regardless of mime validation rules. This only affects forms using the "Forms" feature and not just any arbitrary form. This does not affect the control panel.

Patches

It has been patched in 3.4.13 and 4.33.0.

References

laravel.now is an independent community project. It is not affiliated with, endorsed by, sponsored by, or in any way officially connected to Laravel, Laravel LLC, Taylor Otwell, or the Laravel framework maintainers. Laravel is a trademark of Taylor Otwell. All other trademarks belong to their respective owners.

This site is operated by the makers of Lockhound. Links to Lockhound are promotional.