Skip to content

Credentials leaking in the debug log - CVE-2025-24034

Low
dmulder published GHSA-p989-2f5w-9cf6 Jan 23, 2025

Package

himmelblau

Affected versions

>=0.7.0, <=0.8.2

Patched versions

0.8.3, 0.7.15

Description

Impact

Two vulnerabilities were identified in Himmelblau versions 0.7.0 through 0.8.2:

  1. Logon Compliance Script Issue: When debug logging is enabled, user access tokens are inadvertently logged, potentially exposing sensitive authentication data.
  2. Kerberos CCache Issue: Similarly, Kerberos Ticket-Granting Tickets (TGTs) are logged when debug logging is enabled.

Both issues pose a risk of exposing sensitive credentials, particularly in environments where debug logging is enabled. Both issues are caused by the same underlying issue, and are resolved with a single patch.

Patches

The vulnerabilities have been addressed in Himmelblau version 0.8.3. All users are strongly encouraged to update to this version.

Workarounds

Users unable to update immediately can apply the following mitigations:

  1. For the logon compliance script issue, disable the logon_script option in /etc/himmelblau/himmelblau.conf:

    logon_script = 

    Ensure the debug option in the same configuration file is set to false:

    debug = false

    Additionally, avoid using the -d flag when starting the himmelblaud daemon.

  2. For the Kerberos CCache issue, disable debug logging globally by:

    • Setting the debug option in /etc/himmelblau/himmelblau.conf to false.
    • Avoiding the -d parameter when starting himmelblaud.

References

Severity

Low

CVSS overall score

This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS).
/ 10

CVSS v3 base metrics

Attack vector
Local
Attack complexity
Low
Privileges required
High
User interaction
None
Scope
Changed
Confidentiality
Low
Integrity
None
Availability
None

CVSS v3 base metrics

Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability.
Attack complexity: More severe for the least complex attacks.
Privileges required: More severe if no privileges are required.
User interaction: More severe when no user interaction is required.
Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope.
Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user.
Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user.
Availability: More severe when the loss of impacted component availability is highest.
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:L/I:N/A:N

CVE ID

CVE-2025-24034

Weaknesses

No CWEs

Credits