Lucene search

K
githubGitHub Advisory DatabaseGHSA-86RG-PF4C-5GRG
HistoryJan 04, 2024 - 12:30 p.m.

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

2024-01-0412:30:20
CWE-200
CWE-209
GitHub Advisory Database
github.com
14
flaw
red hat developer hub
gitlab access tokens
frontend
base64 encoded
sanitized error
permissions
malicious code
repositories
resources

CVSS3

5.7

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N

AI Score

6.9

Confidence

Low

EPSS

0.001

Percentile

18.1%

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.

Affected configurations

Vulners
Node
backstagebackstageRange<0.5.9-next.1

CVSS3

5.7

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N

AI Score

6.9

Confidence

Low

EPSS

0.001

Percentile

18.1%

Related for GHSA-86RG-PF4C-5GRG