In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsLearn about Authorization Bypass Through User-Controlled Key vulnerabilities in an interactive lesson.
Start learningUpgrade easycorp/easyadmin-bundle to version 4.29.16, 5.5.1 or higher.
Affected versions of this package are vulnerable to Authorization Bypass Through User-Controlled Key through the AdminRouterSubscriber in src/EventListener/AdminRouterSubscriber.php. An attacker can reach a more restricted Symfony route by sending a backend request with ?routeName=... that makes EasyAdmin swap in the target controller after the firewall has already evaluated access_control against the original admin URL. This lets a low-privilege backend user invoke a route that should be limited by path-based security rules, exposing protected controller responses and any sensitive functionality behind them.
Workarounds
#[IsGranted] or denyAccessUnlessGranted() to sensitive routes, so access is enforced even if the route is reached through EasyAdmin’s ?routeName= dispatch.