Skip to main content

Insertion of Sensitive Information into Log File


Severity Medium
Score 6.5/10


In Apache Santuario - XML Security for Java- versions prior to 2.2.6, 2.3.x prior to 2.3.4, 3.0.x prior to 3.0.3 and 4.0.0-M1 when using the JSR 105 API, are vulnerable to an issue where a private key may be disclosed in log files when generating an XML Signature and logging with debug level is enabled.

  • LOW
  • NONE
  • NONE
  • LOW
  • 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