Foreman(フォーマン)で認可不備の脆弱性、他ユーザーのアクセストークンを不正に作成されるおそれ
概要
Foremanのパーソナルアクセストークン発行APIに認可不備があり、権限を持つ利用者が他のユーザーの名義でトークンを作成できます。作られたトークンで被害者になりすまされ、管理者アカウントを含むアカウントを乗っ取られるおそれがあります。CVSSは8.8で、修正版の有無は事実に含まれていないため、最新の情報を確認してください。
AI要約
SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
Foremanのパーソナルアクセストークン発行APIに認可不備があり、権限を持つ利用者が他のユーザーの名義でトークンを作成できます。作られたトークンで被害者になりすまされ、管理者アカウントを含むアカウントを乗っ取られるおそれがあります。CVSSは8.8で、修正版の有無は事実に含まれていないため、最新の情報を確認してください。
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
A flaw was found in Foreman’s Api::V2::PersonalAccessTokensController, where Foreman::Controller::UserAware#find_user resolves the target account using User.find(params[:user_id]) without applying the required parent-user authorization check. An attacker with the create_personal_access_tokens permission can therefore invoke POST /api/v2/users/:user_id/personal_access_tokens with another user’s ID and create a Personal Access Token on their behalf. The resulting plaintext token is returned in the API response, while PersonalAccessToken#check_permissions_after_save only validates create_personal_access_tokens on the token and does not enforce edit_users authorization on the target user. The attacker can then use the forged token to authenticate as the victim, potentially resulting in complete account takeover, including administrator accounts.
出典: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
参照URL
- web secalert@redhat.com
- web secalert@redhat.com
- web nvd.nist.gov
- web github.com
- web secalert@redhat.com
- web secalert@redhat.com
- web secalert@redhat.com