Foreman: authorization flaw in the foreman::controller::useraware handling used by api::v2::sshkeyscontroller
A flaw was found in Foreman’s Api::V2::SshKeysController, where the target user is resolved through Foreman::Controller::UserAware#find_user using User.find(params[:user_id]) without enforcing the required parent-user authorization check. An attacker with the…