В GitHub Enterprise Server была обнаружена отсутствующая уязвимость авторизации, которая позволила сотруднику хранилища с доступом к записи удалить текущую ветку по умолчанию через GraphQL API и привести к тому, что ветка, контролируемая злоумышленником, станет новой веткой по умолчанию. В репозиториях, которые требовали pull-request проверки, но не ограничивали удаление ветвей, это обошло требование проверки и вызвало новые клоны и запросы по умолчанию API для использования контента, контролируемого злоумышленником. Эта уязвимость поддерживала выпуски GitHub Enterprise Server в сериях 3.18, 3.19, 3.20, 3.21 и 3.22 и была исправлена в версиях 3.18.16, 3.19.13, 3.20.9, 3.21.7 и 3.22.2.
Об этой уязвимости было сообщено через программу GitHub Bug Bounty.
Показать оригинальное описание (EN)
A missing authorization vulnerability was identified in GitHub Enterprise Server that allowed a repository collaborator with write access to delete the current default branch through the GraphQL API and cause an attacker-controlled branch to become the new default. In repositories that required pull-request review but did not restrict branch deletion, this bypassed the review requirement and caused fresh clones and default-branch API requests to use attacker-controlled content. This vulnerability affected supported GitHub Enterprise Server releases in the 3.18, 3.19, 3.20, 3.21, and 3.22 series and was fixed in versions 3.18.16, 3.19.13, 3.20.9, 3.21.7, and 3.22.2. This vulnerability was reported via the GitHub Bug Bounty program.
Характеристики атаки
Последствия
Строка CVSS v4.0
Тип уязвимости (CWE)
Уязвимые продукты 5
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Github Enterprise_Server
cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*
|
3.18.0
|
3.18.16
|
|
Github Enterprise_Server
cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*
|
3.19.0
|
3.19.13
|
|
Github Enterprise_Server
cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*
|
3.20.0
|
3.20.9
|
|
Github Enterprise_Server
cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*
|
3.21.0
|
3.21.7
|
|
Github Enterprise_Server
cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*
|
3.22.0
|
3.22.2
|