Definition
Mass assignment happens when an application binds incoming request fields directly onto an internal object without restricting which fields a client may set. Convenient to write, and it quietly delegates authorization to the request body.
Why it is easy to miss
Nothing looks broken. The documented fields behave correctly, tests pass, and the endpoint returns the expected shape. The weakness only appears when a request includes a field the documentation never mentioned: a role, an owner reference, a verification flag, an internal status.
Fields worth probing
- Role, permission or group membership
- Ownership or tenant references
- Verification, approval and activation flags
- Internal pricing, quota or entitlement state
- Identifiers the server should assign rather than accept
- User
- API Request
- Hidden Property
- Privileged State
- Unauthorized Access
Each hop validated by successful exploitation
Tags
- api
- authorization
- privilege escalation