GitHub Enterprise Serverで保存型クロスサイトスクリプティングの脆弱性、別ユーザーのアカウントにSSH鍵を追加される
Summary
組織内のメンバーが、カスタムプロパティーの選択肢に仕込んだHTMLを使い、別メンバーの個人アカウントに攻撃者のSSH認証鍵を追加できる脆弱性です。3.23より前のGitHub Enterprise Serverが対象で、3.19.16、3.20.12、3.21.10、3.22.5で修正されています。3.19から3.22を使っている場合は、修正版への更新を急いでください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
組織内のメンバーが、カスタムプロパティーの選択肢に仕込んだHTMLを使い、別メンバーの個人アカウントに攻撃者のSSH認証鍵を追加できる脆弱性です。3.23より前のGitHub Enterprise Serverが対象で、3.19.16、3.20.12、3.21.10、3.22.5で修正されています。3.19から3.22を使っている場合は、修正版への更新を急いでください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| GitHubEnterprise Server |
≥ 3.19.0, < 3.19.*→ 3.19.* ≥ 3.20.0, < 3.20.*→ 3.20.* ≥ 3.21.0, < 3.21.*→ 3.21.* ≥ 3.22.0, < 3.22.*→ 3.22.* |
3.19.* 3.20.* 3.21.* 3.22.* |
Original description The description as published by the source.
A stored cross-site scripting vulnerability was identified in GitHub Enterprise Server that allowed an organization member with permission to manage custom-property definitions and edit property values to add an attacker-controlled SSH authentication key to the personal account of another member through HTML stored in a single-select custom-property option. Exploitation required another definition manager in the same organization to attempt to remove the poisoned option while it was in use and save the definition with a valid sudo session. Repository access through the added key depended on the permissions of the victim and independent authorization controls. This vulnerability affected supported GitHub Enterprise Server prior to 3.23 and was fixed in versions 3.19.16, 3.20.12, 3.21.10, and 3.22.5. This vulnerability was reported via the GitHub Bug Bounty program.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- web docs.github.com
- web docs.github.com
- web docs.github.com
- web docs.github.com
- web nvd.nist.gov
- web github.com