PHP-047 / Advanced
Exposing the Ignition debugging tool in production leads to RCE
Why is this a problem?
Endpoints in Ignition 2.5.1 or earlier have been exploited as gadgets for arbitrary file writes and PHP execution.
How to fix it
bash
composer install --no-dev --optimize-autoloader # Exclude dev in production
# Patch facade/ignition to 2.5.2 or later