Уязвимость на стороне сервера (SSRF) была обнаружена в просмотрщике ноутбуков GitHub Enterprise Server. Просмотрщик ноутбуков проверил схему и хост URL, но не проверил порт, что позволило направлять запросы во внутренние службы, прослушивающие другие порты того же устройства. Тела отклика не возвращались запрашивающему, но время отклика действовало как оракул, который позволял извлекать секреты экземпляра за персонажем.
Затем извлеченный секрет может быть использован в отдельном взаимодействии с внутренней службой для получения удаленного выполнения кода на устройстве. Эксплуатация требовала сетевого доступа к экземпляру и была не аутентифицированной, когда частный режим был отключен, или требовала любого аутентифицированного пользователя, когда частный режим был включен. Эта уязвимость затронула GitHub Enterprise Server версии 3.17 через 3.22 и была исправлена в версиях 3.22.1, 3.21.6, 3.20.8, 3.19.12, 3.18.15 и 3.17.21.
Об этой уязвимости было сообщено через программу GitHub Bug Bounty.
Показать оригинальное описание (EN)
A server-side request forgery (SSRF) vulnerability was identified in the notebook viewer of GitHub Enterprise Server. The notebook viewer validated the scheme and host of a user-supplied URL but did not validate the port, allowing requests to be directed to internal services listening on other ports of the same appliance. Response bodies were not returned to the requester, but response timing acted as an oracle that allowed instance secrets to be extracted character by character. An extracted secret could then be used in a separate interaction with an internal service to obtain remote code execution on the appliance. Exploitation required network access to the instance and was unauthenticated when private mode was disabled, or required any authenticated user when private mode was enabled. This vulnerability affected GitHub Enterprise Server versions 3.17 through 3.22 and was fixed in versions 3.22.1, 3.21.6, 3.20.8, 3.19.12, 3.18.15, and 3.17.21. This vulnerability was reported through the GitHub Bug Bounty program.
Характеристики атаки
Последствия
Строка CVSS v4.0
Тип уязвимости (CWE)
Уязвимые продукты 6
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Github Enterprise_Server
cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*
|
3.17.0
|
3.17.21
|
|
Github Enterprise_Server
cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*
|
3.18.0
|
3.18.15
|
|
Github Enterprise_Server
cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*
|
3.19.0
|
3.19.12
|
|
Github Enterprise_Server
cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*
|
3.20.0
|
3.20.8
|
|
Github Enterprise_Server
cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*
|
3.21.0
|
3.21.6
|
|
Github Enterprise_Server
cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*
|
3.22.0
|
3.22.1
|