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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published: 2024-01-04T10:02:38.088Z

Updated: 2024-08-20T16:24:35.551Z

Reserved: 2023-12-19T10:23:24.260Z

Link: CVE-2023-6944

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2024-01-04T10:15:11.517

Modified: 2024-02-04T20:15:46.650

Link: CVE-2023-6944

cve-icon Redhat

Severity : Moderate

Publid Date: 2023-12-19T00:00:00Z

Links: CVE-2023-6944 - Bugzilla