Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-5gjh-5j4f-cpwv

Опубликовано: 28 мар. 2022
Источник: github
Github: Прошло ревью
CVSS3: 8.8

Описание

Unrestricted Upload of File with Dangerous Type in Gogs

Impact

The malicious user is able to upload a crafted config file into repository's .git directory with to gain SSH access to the server. All installations with repository upload enabled (default) are affected.

Patches

Repository file uploads are prohibited to its .git directory. Users should upgrade to 0.12.6 or the latest 0.13.0+dev.

Workarounds

Disable repository files upload.

References

https://huntr.dev/bounties/b4928cfe-4110-462f-a180-6d5673797902/

For more information

If you have any questions or comments about this advisory, please post on #6833.

Пакеты

Наименование

gogs.io/gogs

go
Затронутые версииВерсия исправления

< 0.12.6

0.12.6

EPSS

Процентиль: 100%
0.903
Критический

8.8 High

CVSS3

Дефекты

CWE-20
CWE-434

Связанные уязвимости

CVSS3: 8.8
ubuntu
почти 4 года назад

Remote Command Execution in uploading repository file in GitHub repository gogs/gogs prior to 0.12.6.

CVSS3: 8.8
nvd
почти 4 года назад

Remote Command Execution in uploading repository file in GitHub repository gogs/gogs prior to 0.12.6.

EPSS

Процентиль: 100%
0.903
Критический

8.8 High

CVSS3

Дефекты

CWE-20
CWE-434