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

exploitDog

redhat логотип

CVE-2023-6944

Опубликовано: 19 дек. 2023
Источник: redhat
CVSS3: 5.7
EPSS Низкий

Описание

A flaw was found in the Red Hat Developer Hub (RHDH). The catalog-import function leaks GitLab access tokens on the frontend when the base64 encoded GitLab token includes a newline at the end of the string. The sanitized error can display on the frontend, including the raw access token. Upon gaining access to this token and depending on permissions, an attacker could push malicious code to repositories, delete resources in Git, revoke or generate new keys, and sign code illegitimately.

Отчет

The vulnerability is assessed with a Moderate impact rating since its exploitation necessitates the user inputting an invalid token. Red Hat Developer Hub contains the fix for this vulnerability with Backstage 1.22.

Меры по смягчению последствий

To mitigate this vulnerability until you can update to RHDH 1.1, ensure that the base64 encoded GitLab token does not contain a newline character at the end. Removing the newline from the token prevents the unintended disclosure of the access token through the frontend.

Дополнительная информация

Статус:

Moderate
Дефект:
CWE-209
https://bugzilla.redhat.com/show_bug.cgi?id=2255204RHDH: catalog-import function leaks credentials to frontend

EPSS

Процентиль: 44%
0.00216
Низкий

5.7 Medium

CVSS3

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

CVSS3: 5.7
nvd
около 2 лет назад

A flaw was found in the Red Hat Developer Hub (RHDH). The catalog-import function leaks GitLab access tokens on the frontend when the base64 encoded GitLab token includes a newline at the end of the string. The sanitized error can display on the frontend, including the raw access token. Upon gaining access to this token and depending on permissions, an attacker could push malicious code to repositories, delete resources in Git, revoke or generate new keys, and sign code illegitimately.

CVSS3: 7.3
github
около 2 лет назад

@backstage/backend-app-api leaks GitLab access tokens

CVSS3: 7.3
fstec
около 2 лет назад

Уязвимость функции catalog-import открытой онлайн-платформа разработки программного обеспечения Red Hat Developer Hub, позволяющая нарушителю раскрыть защищаемую информацию

EPSS

Процентиль: 44%
0.00216
Низкий

5.7 Medium

CVSS3