Skip to main content

Insertion of Sensitive Information into Log File

CVE-2024-8365

Severity Medium
Score 6.5/10

Summary

Vault Community Edition and Vault Enterprise experienced a regression where functionality that "HMAC'd" sensitive headers in the configured audit device, specifically client tokens and token accessors, was removed. This resulted in the plaintext values of client tokens and token accessors being stored in the audit log. This vulnerability affects github.com/hashicorp/vault community edition version 1.17.3 through 1.17.4. This vulnerability also affects Vault Enterprise versions 1.16.7 through 1.16.8.

  • LOW
  • NETWORK
  • NONE
  • UNCHANGED
  • REQUIRED
  • NONE
  • HIGH
  • NONE

CWE-532 - Insertion of Sensitive Information into Log File

It's quite common for applications to save logs. For example, whenever a user requests a resource from a particular website, the web server writes information about the request to a log file. These files are helpful for identifying abnormal system activity, bugs, and evaluating the security controls of the application. Security of log files is critical for the overall security of the application and its confidential resources. An application that lacks appropriate logging levels can expose sensitive user data and system information stored on the log files to malicious users. This info can be exploited to compromise your system.

Advisory Timeline

  • Published