Skip to content
Security advisoryCVE-2023-48217

Statamic CMS vulnerable to remote code execution via form uploads

High8.8Published Modified Original advisory

As published by the sources

Affected packages

  • Affected>=4.0.0,<4.34.0 || <3.4.14
    Fixed in3.4.144.34.0

Derived from the fixed versions above

What to do

  1. Upgrade statamic/cms to the fixed version in your release line: 3.4.14, 4.34.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

Similar to another advisory, certain additional PHP files crafted to look like images may be uploaded regardless of mime type validation rules. This affects front-end forms using the "Forms" feature, and asset upload fields in the control panel.

Patches

It has been patched in 3.4.14 and 4.34.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.