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 Incorrect Authorization vulnerabilities in an interactive lesson.
Start learningUpgrade backpack/crud to version 6.8.14, 7.0.38 or higher.
backpack/crud is a package that helps you build an admin interface for your Eloquent models, using Laravel 5
Affected versions of this package are vulnerable to Incorrect Authorization in the Update, Delete, and Reorder processes, where query scopes registered via addClause or addBaseClause are not enforced. An attacker can modify or delete records belonging to other users or tenants by supplying the primary key of records that should be inaccessible to them.
This vulnerability can be mitigated by adding explicit Gate or Policy checks in the update(), destroy(), and reorder() methods of the CrudController to ensure the authenticated user is authorized to act on the resolved record.