Prior to this Werk, creating a Support Diagnostic report including the option "Performance Graphs of Checkmk Server" caused the automation secret of the user "automation" to be logged to the site Apache access log file (var/log/apache/access_log).
This affected both creating the diagnostic report via the GUI (Setup > Maintenance > Support diagnostics) and via the command line (cmk --create-diagnostics-dump --performance-graphs).
With this Werk the credentials are no longer written to the log file.
Note that no automatic sanitization of the log file is attempted by applying this patch.
This issue was discovered during internal review.
* 2.2.0 (beta)
Users are advised to change the secret of the user "automation" via the User Management UI.
If this is not an option for you, delete or manually sanitize the Apache access log file and any backup of the file.
Remove any line that contains a POST to
<your site URL>/report.py?_username=automation&_secret=<...>.
Refrain from using the affected functionality before applying this patch or manually sanitize the file afterwards.
We have rated the issue with a CVSS Score of 4.4 (Medium) with the following CVSS vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N.
We have assigned CVE-2023-31207.
To the list of all Werks