Cloudanix VulnDB

CVE-2024-4472

Medium · 5.5

CVSS

5.5

EPSS

0.2%

Published

Sep 12, 2024

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

GitLab can store secret login details for its dependency proxy inside log files where people who shouldn't see them might find and use those details.

Exploitation
Remote Authenticated
Attacker needs
Low Privilege
Complexity
Moderate
Impact
Data Exposure
Component
Application
Class
Information Disclosure
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

The flaw causes dependency proxy credentials to be retained in GraphQL logs, exposing authentication secrets through log files.

Why it matters to the business

Organizations running affected GitLab instances risk credential exposure that could allow unauthorized access to dependency proxy resources; remediation urgency remains low given no known exploitation or ransomware use despite the 760 days since publication.

How an attack unfolds

An attacker with access to GitLab log storage retrieves retained dependency proxy credentials from GraphQL log entries and reuses them to authenticate against the proxy.

How to fix it

Upgrade GitLab CE/EE to 17.1.7, 17.2.5, or 17.3.2 (or later) corresponding to commit 84cf95d60d2691201b17bb4d41a95987ded847fb; the erroneous openmeetings references should be ignored as they do not match the CVE scope.

How to confirm the fix worked

After upgrade, inspect GraphQL logs to confirm absence of dependency proxy credentials and verify log redaction settings.

Typical attack path

  1. Obtain access to GitLab log storage or GraphQL log files
  2. Search logs for dependency proxy credential strings
  3. Extract and reuse the credentials against the dependency proxy

How to detect it

Search GraphQL logs for strings related to dependency proxy credentials and monitor for anomalous access patterns to log directories.

What your security team should do

  • Apply the listed GitLab version upgrades immediately on all affected instances
  • Review and restrict access to existing GraphQL log files
  • Audit logs for any previously exposed credentials and rotate them

The record

An issue was discovered in GitLab CE/EE affecting all versions starting from 16.5 prior to 17.1.7, starting from 17.2 prior to 17.2.5, and starting from 17.3 prior to 17.3.2, where dependency proxy credentials are retained in graphql Logs.

Affected packages

Ecosystem Package Introduced Fixed
Bitnami gitlab 16.5.0 17.1.7
Ubuntu:16.04:LTS gitlab 0 No fix
Ubuntu:Pro:16.04:LTS gitlab 0 No fix

Related vulnerabilities