A user adds an unexpected isAdmin field to a request and the framework binds it straight onto the model. This flaw is?
POST /users {"name":"al","isAdmin":true}
- Mass assignment
- Open redirect
- Clickjacking
- Session fixation
Auto-binding every request field to model attributes lets attackers set fields they should not control, like isAdmin, unless inputs are allowlisted.
Play Cybersecurity ▸