Action Pack is a framework for handling and responding to web requests. The `ActionController::Parameters#each key` function delegates to an internal `ActiveSupport::HashWithIndifferentAccess` object. When called with a block, it returns this hash instead of the `Parameters` instance. Because the hash does not respond to the `permitted?` method, Active Model mass assignment functions such as `new()`, `assign attributes()`, and `update()` accept it without raising an `ActiveModel::ForbiddenAttributesError`. This allows a remote, unauthenticated attacker to set unauthorized attributes, such as authorization flags, if the application passes the return value of `each key` called with a block to mass assignment.